summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/id
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/id')
-rwxr-xr-xtests/ts/fdisk/id2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fdisk/id b/tests/ts/fdisk/id
index 2c76f428f..866cf6ecf 100755
--- a/tests/ts/fdisk/id
+++ b/tests/ts/fdisk/id
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="MBR - id"
. $TS_TOPDIR/functions.sh