summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/mbr-nondos-mode
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/mbr-nondos-mode')
-rwxr-xr-xtests/ts/fdisk/mbr-nondos-mode2
1 files changed, 1 insertions, 1 deletions
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