projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1888e57
)
dracut: determine path to dracut-functions
author
Harald Hoyer
<harald@redhat.com>
Mon, 14 Sep 2009 17:35:18 +0000
(19:35 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 14 Sep 2009 17:35:18 +0000
(19:35 +0200)
dracut
patch
|
blob
|
history
diff --git
a/dracut
b/dracut
index
b19df1e
..
d9fd841
100755
(executable)
--- 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