X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=f4dae34eea61d67f71b3cef257a3629df32e7bc6;hb=32e6d9c217846ec5f6d2da9b773a34c4d1970348;hp=9cf3b9982f4ee7dde677239418deb497a04b3c15;hpb=0425f47ed188df074c9e4c95ca64a7ba6e0b8e88;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index 9cf3b99..f4dae34 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -89,11 +89,11 @@ base_path () do if echo "${mounts}" | grep -qs "^${testpath}" then - set -- `echo "${mounts}" | grep "^${testpath}" | lastline` + set -- $(echo "${mounts}" | grep "^${testpath}" | lastline) echo ${1} break else - testpath=`dirname $testpath` + testpath=$(dirname $testpath) fi done }