aboutsummaryrefslogtreecommitdiffstats
path: root/mutator.sh
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-29 17:12:24 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-29 17:12:24 +0000
commit96d6fa3a6f2abecef0b501161b8cc2aeb5745ac9 (patch)
tree8d609b48adad298a9359ee8f7e754f1dda534905 /mutator.sh
parentadded tinyXML2 to project. (diff)
downloadmutator-96d6fa3a6f2abecef0b501161b8cc2aeb5745ac9.tar.gz
mutator-96d6fa3a6f2abecef0b501161b8cc2aeb5745ac9.zip
minor fix
Diffstat (limited to 'mutator.sh')
-rwxr-xr-xmutator.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/mutator.sh b/mutator.sh
index 5a23019..0a6cac9 100755
--- a/mutator.sh
+++ b/mutator.sh
@@ -1,10 +1,10 @@
#!/bin/bash
#the UI for mutator. it's supposed to mimic the normal 'nix argument passing.
-#the arguments' positions are not important. you also get log and short options.
+#the arguments' positions are not important. you also get long and short options.
#default args
-INPUT="./test/testFuncs1.c ./test/main.c"
+INPUT='./test/testFuncs1.c ./test/main.c ./test/testFuncs2.c'
OUTPUT="./mutant.c"
OUTPUT_FORMAT="./mutant_format.c"
COMMAND="jack"
@@ -46,6 +46,12 @@ do
-i|--input|-input)
INPUT="$2"
shift
+ while [[ $# -gt 0 ]]
+ do
+ case &arg in
+
+ esac
+ done
;;
-o|--output|-output)
OUTPUT="$2"