summaryrefslogtreecommitdiffstats
path: root/tests/ts/paths/built-in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/paths/built-in')
-rwxr-xr-xtests/ts/paths/built-in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/paths/built-in b/tests/ts/paths/built-in
index 84ee55539..f866514c7 100755
--- a/tests/ts/paths/built-in
+++ b/tests/ts/paths/built-in
@@ -15,7 +15,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="built-in"
. $TS_TOPDIR/functions.sh