From 7224913d1663f1a9fb0aba59e8805e873d69242a Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 29 Jun 2012 12:04:30 +0200 Subject: dracut-functions.sh: grep for "--relative" for the ln_r() check --- dracut-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dracut-functions.sh') diff --git a/dracut-functions.sh b/dracut-functions.sh index 696f6471..33de5a23 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" } -- cgit v1.2.3