From 96d6fa3a6f2abecef0b501161b8cc2aeb5745ac9 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 29 Nov 2016 20:42:24 +0330 Subject: minor fix --- mutator.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mutator.sh') 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" -- cgit v1.2.3