dracut-functions.sh: grep for "--relative" for the ln_r() check

master
Harald Hoyer 2012-06-29 12:04:30 +02:00
parent 026b81e980
commit 7224913d16
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ convert_abs_rel() {
echo "$__newpath" echo "$__newpath"
} }


if strstr "$(ln --help)" "relative"; then if strstr "$(ln --help)" "--relative"; then
ln_r() { ln_r() {
ln -sfnr "${initdir}/$1" "${initdir}/$2" ln -sfnr "${initdir}/$1" "${initdir}/$2"
} }