summaryrefslogtreecommitdiff
path: root/scripts/live-helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-24 07:34:40 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit32e6d9c217846ec5f6d2da9b773a34c4d1970348 (patch)
treea0baa6cae512518f496001e09da937d48b12fe0f /scripts/live-helpers
parent0425f47ed188df074c9e4c95ca64a7ba6e0b8e88 (diff)
downloadlive-boot-32e6d9c217846ec5f6d2da9b773a34c4d1970348.tar.gz
live-boot-32e6d9c217846ec5f6d2da9b773a34c4d1970348.zip
Replacing backticks with POSIX expression.
Diffstat (limited to 'scripts/live-helpers')
-rw-r--r--scripts/live-helpers4
1 files changed, 2 insertions, 2 deletions
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
}