summaryrefslogtreecommitdiffstats
path: root/tests/ts/libmount/update
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/libmount/update')
-rwxr-xr-xtests/ts/libmount/update2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/libmount/update b/tests/ts/libmount/update
index 6d4bce81c..89279ba26 100755
--- a/tests/ts/libmount/update
+++ b/tests/ts/libmount/update
@@ -2,7 +2,7 @@
# Copyright (C) 2010 Karel Zak <kzak@redhat.com>
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="tab update"
. $TS_TOPDIR/functions.sh