summaryrefslogtreecommitdiffstats
path: root/tests/ts/ipcs/mk-rm-sem
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/ipcs/mk-rm-sem')
-rwxr-xr-xtests/ts/ipcs/mk-rm-sem2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/ipcs/mk-rm-sem b/tests/ts/ipcs/mk-rm-sem
index 2eb149d5f..816d306d4 100755
--- a/tests/ts/ipcs/mk-rm-sem
+++ b/tests/ts/ipcs/mk-rm-sem
@@ -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="mk-rm-sem"
. $TS_TOPDIR/functions.sh