summaryrefslogtreecommitdiffstats
path: root/tests/ts/cal/3mw
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/cal/3mw')
-rwxr-xr-xtests/ts/cal/3mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/cal/3mw b/tests/ts/cal/3mw
index d3b122811..934cfdc0a 100755
--- a/tests/ts/cal/3mw
+++ b/tests/ts/cal/3mw
@@ -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="3 months with week numbers"
. $TS_TOPDIR/functions.sh