From e130ce53ce87f39f4bee3288d106c681e82dbb86 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 16 Feb 2014 23:54:14 +0000 Subject: tests: avoid executing dirname(1) command Bash parameter expansion does the same thing. Signed-off-by: Sami Kerola --- tests/ts/fdisk/mbr-nondos-mode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ts/fdisk/mbr-nondos-mode') diff --git a/tests/ts/fdisk/mbr-nondos-mode b/tests/ts/fdisk/mbr-nondos-mode index 88a80e636..878c1190b 100755 --- a/tests/ts/fdisk/mbr-nondos-mode +++ b/tests/ts/fdisk/mbr-nondos-mode @@ -14,7 +14,7 @@ # GNU General Public License for more details. # -TS_TOPDIR="$(dirname $0)/../.." +TS_TOPDIR="${0%/*}/../.." TS_DESC="MBR - non-dos mode" . $TS_TOPDIR/functions.sh -- cgit v1.2.3-55-g7522