edits
authorPeizhao Ou <peizhaoo@uci.edu>
Fri, 19 Feb 2016 10:12:09 +0000 (02:12 -0800)
committerPeizhao Ou <peizhaoo@uci.edu>
Fri, 19 Feb 2016 10:12:09 +0000 (02:12 -0800)
generate.sh

index 0e08640..dea0965 100755 (executable)
@@ -2,4 +2,8 @@
 
 BENCH=(register ms-queue linuxrwlocks mcs-lock chase-lev-deque-bugfix)
 
-java -cp classes edu/uci/eecs/codeGenerator/CodeGenerator ${BENCH[*]}
+ClassPath=$(dirname ${BASH_SOURCE[0]})/classes
+
+Class=edu/uci/eecs/codeGenerator/CodeGenerator 
+
+java -cp $ClassPath $Class ${BENCH[*]}