]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions: use normal PATH for find_binary
authorHarald Hoyer <harald@redhat.com>
Tue, 7 Feb 2012 16:13:07 +0000 (17:13 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 7 Feb 2012 16:13:07 +0000 (17:13 +0100)
dracut-functions

index b6ac9acd35e1e82b07ef73063438fa4484be1e56..c675e04352bcaf75ca54fcd6f79d392778796335 100755 (executable)
@@ -431,7 +431,7 @@ find_binary() {
         fi
     fi
 
-    PATH="/usr/sbin:/sbin:/usr/bin:/bin" type -P $1
+    type -P $1
 }
 
 # Same as above, but specialized to install binary executables.