Эх сурвалжийг харах

use absolute path to avoid recursion

Waldemar Brodkorb 13 жил өмнө
parent
commit
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