Prechádzať zdrojové kódy

Check for javac in the path.

Carter Shanklin 11 rokov pred
rodič
commit
bf559481c6
2 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 2 2
      tpcds-build.sh
  2. 2 2
      tpch-build.sh

+ 2 - 2
tpcds-build.sh

@@ -1,10 +1,10 @@
 #!/bin/sh
 
 # 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
 	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
 	fi
 done

+ 2 - 2
tpch-build.sh

@@ -1,10 +1,10 @@
 #!/bin/sh
 
 # 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
 	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
 	fi
 done