Replacing backticks with POSIX expression.
[live-boot-grml.git] / scripts / live-helpers
index 9cf3b99..f4dae34 100644 (file)
@@ -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
 }