From: Harald Hoyer Date: Tue, 7 Feb 2012 16:13:07 +0000 (+0100) Subject: dracut-functions: use normal PATH for find_binary X-Git-Tag: 015~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e29d0b8b854c4a5ad87412985ee74d15cfe3604d;p=thirdparty%2Fdracut.git dracut-functions: use normal PATH for find_binary --- diff --git a/dracut-functions b/dracut-functions index b6ac9acd3..c675e0435 100755 --- a/dracut-functions +++ b/dracut-functions @@ -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.