Browse Source

use absolute path to avoid recursion

Waldemar Brodkorb 13 years ago
parent
commit
c3f777ac0d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scripts/find

+ 2 - 1
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