summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/gpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/gpt')
-rwxr-xr-xtests/ts/fdisk/gpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fdisk/gpt b/tests/ts/fdisk/gpt
index 25079070e..75bd006e7 100755
--- a/tests/ts/fdisk/gpt
+++ b/tests/ts/fdisk/gpt
@@ -16,7 +16,7 @@
#
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="GPT"
. $TS_TOPDIR/functions.sh