aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-02-26 08:34:34 +0000
committerbloodstalker <thabogre@gmail.com>2017-02-26 08:34:34 +0000
commit68f41fae81081f3c0b7baa1b03e12379046abc7d (patch)
treee60b72725b533acab5469ac85ccf0945274d06b3
parentnow the option vector is being populated and updated correctly based on the i... (diff)
downloadmutator-68f41fae81081f3c0b7baa1b03e12379046abc7d.tar.gz
mutator-68f41fae81081f3c0b7baa1b03e12379046abc7d.zip
added variable indirection for the exec_options since the new options have double quotes and their untimely expansion messes things up
Diffstat (limited to '')
-rwxr-xr-xmutator.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutator.sh b/mutator.sh
index 9ba8439..334cfef 100755
--- a/mutator.sh
+++ b/mutator.sh
@@ -107,7 +107,7 @@ do
if [[ "$F_END_ACTION" == run ]]; then
echo "running $F_ACTION_NAME ..."
echo "running ./$F_EXEC_NAME $F_EXEC_COPTS $F_IN_FILES -- $F_LIBTOOLING_OPTS > $F_OUT_FILE for $F_ACTION_NAME"
- "./"$F_EXEC_NAME $F_EXEC_COPTS $F_IN_FILES -- $F_LIBTOOLING_OPTS > $F_OUT_FILE
+ "./"$F_EXEC_NAME ${!F_EXEC_COPTS} $F_IN_FILES -- $F_LIBTOOLING_OPTS > $F_OUT_FILE
if [[ "$F_PRINT_PRETTY" = true ]]; then
echo "running pretty print..."
source ./extra-tools/ReportPrintPretty.sh $F_OUT_FILE $F_OUT_FILE-pretty