Sha256: 6b897a42b203c1d43fbb318c3d30b27902df6fc3b96bfb1a74009aed77c4ca32

Contents?: true

Size: 544 Bytes

Versions: 10

Compression:

Stored size: 544 Bytes

Contents

#!/bin/bash

#file=${1/$SRC_PATH/$TGT_PATH}
#echo "$1 -> $file"

CMD=$1
shift

readarray -d ',' -t mapping <<< "$VOLUME_MAPPING"

args=("$@")
echo "args: ${args[@]}"
#args="${args[@]/$SRC_PATH/$TGT_PATH}"
#args="${args[@]/$SRC_TMP/$TGT_TMP}"
for map in "${mapping[@]}"
do
        map="${map//[$'\t\r\n ']}"
        readarray -d '=' -t m <<< "$map"
        src="${m[0]//[$'\t\r\n ']}"
        tgt="${m[1]//[$'\t\r\n ']}"
        echo "$src -> $tgt"
        args="${args[@]/$src/$tgt}"
        echo "args: ${args[@]}"
done
echo $CMD "${args[@]}"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
libis-format-1.2.7 base/rework_path
libis-format-1.2.6 base/rework_path
libis-format-1.2.5 base/rework_path
libis-format-1.2.3 base/rework_path
libis-format-1.2.2 base/rework_path
libis-format-1.2.1 base/rework_path
libis-format-1.2.0 base/rework_path
libis-format-1.1.0 base/rework_path
libis-format-1.0.8 base/rework_path
libis-format-1.0.7 base/rework_path