|
@@ -1,10 +1,10 @@
|
|
|
#!/bin/sh
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Check for all the stuff I need to function.
|
|
# Check for all the stuff I need to function.
|
|
|
-for f in gcc; do
|
|
|
|
|
|
|
+for f in gcc javac; do
|
|
|
which $f > /dev/null 2>&1
|
|
which $f > /dev/null 2>&1
|
|
|
if [ $? -ne 0 ]; then
|
|
if [ $? -ne 0 ]; then
|
|
|
- echo "Required program $f is missing. Please install it and try again."
|
|
|
|
|
|
|
+ echo "Required program $f is missing. Please install or fix your path and try again."
|
|
|
exit 1
|
|
exit 1
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|