edits
authorPeizhao Ou <peizhaoo@uci.edu>
Thu, 18 Feb 2016 01:11:36 +0000 (17:11 -0800)
committerPeizhao Ou <peizhaoo@uci.edu>
Thu, 18 Feb 2016 01:11:36 +0000 (17:11 -0800)
clean.sh

index 827d047..c373de2 100755 (executable)
--- a/clean.sh
+++ b/clean.sh
@@ -1,9 +1,5 @@
 #!/bin/bash
 
-if [ -z $SPEC_COMPILER_HOME ]; then
-       SPEC_COMPILER_HOME=~/spec-checker-compiler
-fi
-
-OUTPUT_PATH=$SPEC_COMPILER_HOME/src/edu/uci/eecs/utilParser
+AutoGenDir=$(pwd)/src/edu/uci/eecs/utilParser
 echo "Deleting the old generated java files."
-rm $OUTPUT_PATH/*.java
+rm -rf $AutoGenDir