summaryrefslogtreecommitdiffstats
path: root/tests/ts/cramfs/doubles
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/cramfs/doubles')
-rwxr-xr-xtests/ts/cramfs/doubles2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/cramfs/doubles b/tests/ts/cramfs/doubles
index ed4e4aa72..3053ab5af 100755
--- a/tests/ts/cramfs/doubles
+++ b/tests/ts/cramfs/doubles
@@ -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="mkfs doubles"
. $TS_TOPDIR/functions.sh