edits
[cdsspec-compiler.git] / clean.sh
index 827d047ddf8e672f8d00322e2577802579d8902a..22c313e46440604d95351f3133474dc564d1af8e 100755 (executable)
--- a/clean.sh
+++ b/clean.sh
@@ -1,9 +1,8 @@
 #!/bin/bash
 
 #!/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."
 echo "Deleting the old generated java files."
-rm $OUTPUT_PATH/*.java
+rm -rf $AutoGenDir
+
+echo "Deleting the class files."
+rm -rf ./classes