summaryrefslogtreecommitdiffstats
path: root/tests/ts/cal/weekarg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/cal/weekarg')
-rwxr-xr-xtests/ts/cal/weekarg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/cal/weekarg b/tests/ts/cal/weekarg
index 507b564c9..dc500ac19 100755
--- a/tests/ts/cal/weekarg
+++ b/tests/ts/cal/weekarg
@@ -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="week number given as argument"
. $TS_TOPDIR/functions.sh