summaryrefslogtreecommitdiffstats
path: root/tests/ts/hwclock/systohc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/hwclock/systohc')
-rwxr-xr-xtests/ts/hwclock/systohc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/hwclock/systohc b/tests/ts/hwclock/systohc
index 401ee937e..8dc56b779 100755
--- a/tests/ts/hwclock/systohc
+++ b/tests/ts/hwclock/systohc
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="system to hw"
NTP_SERVER="0.fedora.pool.ntp.org"