Invert logic, first search for find as most people will build under Linux
authorFlorian Fainelli <florian@openwrt.org>
Fri, 8 Aug 2008 21:48:15 +0000 (21:48 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 8 Aug 2008 21:48:15 +0000 (21:48 +0000)
SVN-Revision: 12248

tools/ipkg-utils/patches/160-find.patch

index 51b101afdeae5418571e920ca14e14cf39d2a5c7..04a2ad4410af7696f060edc1564f7e9c579518d4 100644 (file)
@@ -5,8 +5,8 @@
  
  version=1.0
 -
-+FIND="$(which gfind)"
-+FIND="${FIND:-$(which find)}"
++FIND="$(which find)"
++FIND="${FIND:-$(which gfind)}"
  TAR="${TAR:-$(which tar)}"
  
  ipkg_extract_value() {