瀏覽代碼

Check for javac in the path.

Carter Shanklin 11 年之前
父節點
當前提交
bf559481c6
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      tpcds-build.sh
  2. 2 2
      tpch-build.sh

+ 2 - 2
tpcds-build.sh

@@ -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

+ 2 - 2
tpch-build.sh

@@ -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