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