summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-03-02 19:56:10 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-03-02 19:56:10 +0100
commite41f9e6d0fe3c0101daa0d786e62a793e0b79c00 (patch)
treec1517642b1d493180504cc817e0cdb91c2251c8f
parent3fa01fadbe913a5aeef7a1da49974ff0649c3fd7 (diff)
parentc3f777ac0d8b50943110dd62b58eae7d45fdbbdd (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rwxr-xr-xscripts/find3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/find b/scripts/find
index 3990e4f7f..439ec0b3f 100755
--- a/scripts/find
+++ b/scripts/find
@@ -2,12 +2,13 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
+find=$(which find)
os=$(uname)
case $os in
Darwin)
/opt/local/libexec/gnubin/find "$@"
;;
*)
- find "$@"
+ /usr/bin/find "$@"
;;
esac