From fc3c64c8d4d8ee304398fe7e639f9d426d5185da Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 14 Sep 2009 19:35:18 +0200 Subject: [PATCH] dracut: determine path to dracut-functions --- dracut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut b/dracut index b19df1e..d9fd841 100755 --- a/dracut +++ b/dracut @@ -123,7 +123,7 @@ fw_dir=${fw_dir//:/ } [[ $hostonly = yes ]] && hostonly="-h" -[[ $allowlocal && -f "$(dirname $0)/dracut-functions" ]] && dsrc="$(dirname $0)" || dsrc=$dracutbasedir +[[ $allowlocal && -f "$(readlink -f $(dirname $0))/dracut-functions" ]] && dsrc="$(dirname $0)" || dsrc=$dracutbasedir if [[ -f $dsrc/dracut-functions ]]; then . $dsrc/dracut-functions -- 2.7.4