small fix for empty classpath

This commit is contained in:
overflowerror 2018-11-02 19:53:09 +01:00
parent 16780d56e3
commit 5eb37f4dcb

View file

@ -23,7 +23,7 @@ for file in $(ls ../build/NurseBot_lib); do
done
echo "Building... "
javac -cp $CLASSPATH -d ../bin/ $(find ./ -iname "*.java")
javac -cp "$CLASSPATH" -d ../bin/ $(find ./ -iname "*.java")
if test ! $? = 0; then
echo "... failed"
exit $EXIT_COMPILE_FAILED