--- dracut-functions.sh.orig 2012-08-01 17:30:30.000000000 +0400 +++ dracut-functions.sh.orig 2012-10-05 12:39:12.771284580 +0400 @@ -45,7 +45,7 @@ fi fi - type -P $1 + type -P ${1##*/} } if ! [[ $dracutbasedir ]]; then