From 7224913d1663f1a9fb0aba59e8805e873d69242a Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 29 Jun 2012 12:04:30 +0200 Subject: [PATCH] dracut-functions.sh: grep for "--relative" for the ln_r() check --- dracut-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-functions.sh b/dracut-functions.sh index 696f647..33de5a2 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -193,7 +193,7 @@ convert_abs_rel() { echo "$__newpath" } -if strstr "$(ln --help)" "relative"; then +if strstr "$(ln --help)" "--relative"; then ln_r() { ln -sfnr "${initdir}/$1" "${initdir}/$2" } -- 2.7.4