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