From 32e6d9c217846ec5f6d2da9b773a34c4d1970348 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Sep 2007 07:34:40 +0200 Subject: Replacing backticks with POSIX expression. --- scripts/live-helpers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/live-helpers') 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 } -- cgit v1.2.3