mirror of
https://github.com/sigmasternchen/NurseBot
synced 2025-03-15 08:08:58 +00:00
fix. appearently bash on macos handles newlines differently then bash on linux
This commit is contained in:
parent
8f3346d3da
commit
6441c39332
1 changed files with 5 additions and 1 deletions
|
@ -15,8 +15,12 @@ mkdir -p ../build/NurseBot_lib/
|
|||
|
||||
pushd ../src/
|
||||
|
||||
for file in $(ls build/NurseBot_lib); do
|
||||
export CLASSPLATH=$CLASSPATH:build/NurseBot_lib/$file
|
||||
done
|
||||
|
||||
echo "Building... "
|
||||
javac -cp $(find ../build/NurseBot_lib -iname "*.jar" | tr "\n" ":") -d ../bin/ $(find ./ -iname "*.java")
|
||||
javac -cp $CLASSPATH | tr "\n" ":") -d ../bin/ $(find ./ -iname "*.java")
|
||||
if test ! $? = 0; then
|
||||
echo "... failed"
|
||||
exit $EXIT_COMPILE_FAILED
|
||||
|
|
Loading…
Reference in a new issue