瀏覽代碼

there is no find wrapper, so build findutils even if gfind is available

Waldemar Brodkorb 8 年之前
父節點
當前提交
13b3b0a00d
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      scripts/scan-tools.sh

+ 3 - 5
scripts/scan-tools.sh

@@ -272,11 +272,9 @@ if ! which gxargs >/dev/null 2>&1; then
 	fi
 fi
 
-if ! which gfind >/dev/null 2>&1; then
-	if which find >/dev/null 2>&1; then
-		if ! find --version 2>/dev/null|grep GNU >/dev/null;then
-			host_build_findutils=1
-		fi
+if which find >/dev/null 2>&1; then
+	if ! find --version 2>/dev/null|grep GNU >/dev/null;then
+		host_build_findutils=1
 	fi
 fi