소스 검색

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