Explorar o código

Avoid annoying warning when tar isn’t GNU tar

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser %!s(int64=15) %!d(string=hai) anos
pai
achega
7cdd56736a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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