summaryrefslogtreecommitdiffstats
path: root/tests/ts/utmpdump/to-binary
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/utmpdump/to-binary')
-rwxr-xr-xtests/ts/utmpdump/to-binary2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/utmpdump/to-binary b/tests/ts/utmpdump/to-binary
index f2ec324ce..dcfe6ea1e 100755
--- a/tests/ts/utmpdump/to-binary
+++ b/tests/ts/utmpdump/to-binary
@@ -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-binary"
. $TS_TOPDIR/functions.sh