summaryrefslogtreecommitdiff
path: root/scripts/find
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-08 13:21:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-08 13:21:40 +0100
commita0249a3c721b76c0b0e07062d6ec7735b1105f1d (patch)
treea39b7c2e64e1d62d421cdfb60af52aff47c3f863 /scripts/find
parenta1b573dff0e1924961f3caf823a5fc1de998f643 (diff)
add GNU find as dependency, add wrapper for Darwin
Diffstat (limited to 'scripts/find')
-rwxr-xr-xscripts/find9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/find b/scripts/find
new file mode 100755
index 000000000..ea38d92fb
--- /dev/null
+++ b/scripts/find
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+if [ -z "$(which gfind 2>/dev/null)" ];then
+ /usr/bin/find "$@"
+else
+ gfind "$@"
+fi