summaryrefslogtreecommitdiffstats
path: root/tests/ts/hexdump/highlighting
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/hexdump/highlighting')
-rwxr-xr-xtests/ts/hexdump/highlighting2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/hexdump/highlighting b/tests/ts/hexdump/highlighting
index 8a0aa1d9c..f3b8c8172 100755
--- a/tests/ts/hexdump/highlighting
+++ b/tests/ts/hexdump/highlighting
@@ -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="highlighting"
FILES="$TS_TOPDIR/ts/hexdump/files"
OPTS="--color=always"