summaryrefslogtreecommitdiffstats
path: root/tests/ts/losetup/losetup
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/losetup/losetup')
-rwxr-xr-xtests/ts/losetup/losetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/losetup/losetup b/tests/ts/losetup/losetup
index 29d4b4201..64eb03888 100755
--- a/tests/ts/losetup/losetup
+++ b/tests/ts/losetup/losetup
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="losetup"
. $TS_TOPDIR/functions.sh