From 870ac7bde9936bb077e12ffadd679479046ef7df Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 30 Nov 2016 12:52:05 +0330 Subject: minor fix --- mutator.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mutator.sh') diff --git a/mutator.sh b/mutator.sh index 0a6cac9..26d786e 100755 --- a/mutator.sh +++ b/mutator.sh @@ -49,7 +49,9 @@ do while [[ $# -gt 0 ]] do case &arg in - + -*) + ;; + default) esac done ;; @@ -89,6 +91,8 @@ elif [[ "$COMMAND" == "run" ]];then "./mutator" "$INPUT" -- > mutant-lvl1.c "./mutator-lvl2" mutant-lvl1.c -- > $OUTPUT elif [[ "$COMMAND" == "misrac" ]]; then + echo "Removing previous XML report..." + "rm" ./test/misrareport.xml echo "checking input file(s) against Misra-C 2004..." "./mutator-lvl0" "$INPUT" -- > ./test/misra-log elif [[ "$COMMAND" == "default" ]]; then -- cgit v1.2.3