1
0
Преглед на файлове

use absolute path to avoid recursion

Waldemar Brodkorb преди 13 години
родител
ревизия
c3f777ac0d
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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