summaryrefslogtreecommitdiffstats
path: root/tests/ts/login/logindefs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/login/logindefs')
-rwxr-xr-xtests/ts/login/logindefs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/login/logindefs b/tests/ts/login/logindefs
index 10caed752..0b3b9a44c 100755
--- a/tests/ts/login/logindefs
+++ b/tests/ts/login/logindefs
@@ -4,7 +4,7 @@
#
# This file is part of util-linux.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="defs"
. $TS_TOPDIR/functions.sh