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