diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2012-03-02 19:06:45 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-03-02 19:06:45 +0100 |
commit | c3f777ac0d8b50943110dd62b58eae7d45fdbbdd (patch) | |
tree | d17cd8f8eeecabe8b2abade388fe496cc5e52093 /scripts/find | |
parent | b69bab410825d23c329ea2c601f63aadee1a5677 (diff) |
use absolute path to avoid recursion
Diffstat (limited to 'scripts/find')
-rwxr-xr-x | scripts/find | 3 |
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 |