summaryrefslogtreecommitdiffstats
path: root/tests/ts/cal/colorw
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/cal/colorw')
-rwxr-xr-xtests/ts/cal/colorw2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/cal/colorw b/tests/ts/cal/colorw
index b08656e45..8b43461d5 100755
--- a/tests/ts/cal/colorw
+++ b/tests/ts/cal/colorw
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="color with week numbers"
. $TS_TOPDIR/functions.sh