소스 검색

No standard option to suppress output, use redirects.

cartershanklin 12 년 전
부모
커밋
3334d4cb47
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      build.sh

+ 1 - 1
build.sh

@@ -2,7 +2,7 @@
 
 # Check for all the stuff I need to function.
 for f in gcc flex bison mvn; do
-	which -s $f || ( echo "Required program $f is missing. Please install it and try again." ; exit 1 )
+	which $f > /dev/null 2>&1 || ( echo "Required program $f is missing. Please install it and try again." ; exit 1 )
 done
 
 (cd tpcds-gen; make)