edits
[cdsspec-compiler.git] / clean.sh
index 827d047ddf8e672f8d00322e2577802579d8902a..c373de205879fae5fadcc3dcd66ac975f9577b8e 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