summaryrefslogtreecommitdiffstats
path: root/tests/ts/utmpdump/to-text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/utmpdump/to-text')
-rwxr-xr-xtests/ts/utmpdump/to-text2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/utmpdump/to-text b/tests/ts/utmpdump/to-text
index 220f4d0a5..56f411a5d 100755
--- a/tests/ts/utmpdump/to-text
+++ b/tests/ts/utmpdump/to-text
@@ -12,7 +12,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="to-text"
. $TS_TOPDIR/functions.sh