summaryrefslogtreecommitdiffstats
path: root/tests/ts/cal/bigyearw
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/cal/bigyearw')
-rwxr-xr-xtests/ts/cal/bigyearw2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/cal/bigyearw b/tests/ts/cal/bigyearw
index 6fddb0bb8..a0220bfe3 100755
--- a/tests/ts/cal/bigyearw
+++ b/tests/ts/cal/bigyearw
@@ -12,7 +12,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="Year 2147483646 with week numbers"
. $TS_TOPDIR/functions.sh