소스 검색

Avoid annoying warning when tar isn’t GNU tar

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 15 년 전
부모
커밋
7cdd56736a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/scan-tools.sh

+ 1 - 1
scripts/scan-tools.sh

@@ -116,7 +116,7 @@ if ! which tar >/dev/null 2>&1; then
 	out=1
 fi
 
-if ! tar --version|grep GNU >/dev/null 2>&1;then
+if ! (tar --version | grep GNU) >/dev/null 2>&1;then
 	if ! which gtar >/dev/null 2>&1; then
 		echo You must install GNU tar to continue.
 		echo