Sha256: 03aff8b16d7d8b3e1b947164a6ff1c7672753d1c48b9dfcae920154a65705779

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

#!/bin/bash

CMD=$1
shift

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

args=("$@")
#echo "args: ${args[@]}"
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
${CMD} "${args[@]}"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libis-format-2.0.5 base/rework_path
libis-format-2.0.4 base/rework_path
libis-format-2.0.3 base/rework_path
libis-format-2.0.2 base/rework_path
libis-format-2.0.1 base/rework_path
libis-format-2.0.0 base/rework_path