summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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