summaryrefslogtreecommitdiffstats
path: root/tests/ts/swapon/fixsig
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/swapon/fixsig')
-rwxr-xr-xtests/ts/swapon/fixsig2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/swapon/fixsig b/tests/ts/swapon/fixsig
index 2005dec4b..d7ba65625 100755
--- a/tests/ts/swapon/fixsig
+++ b/tests/ts/swapon/fixsig
@@ -1,6 +1,6 @@
#!/bin/bash
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="fix signature"
. $TS_TOPDIR/functions.sh