summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-07-09 09:46:52 -0700
committerMichael Forney <mforney@mforney.org>2016-07-09 09:46:52 -0700
commitc44d68fe8527fce97c5bb8c2766fd16f8f0df4bc (patch)
treedfcb58d2f4ccee901a2dd870c898ffd95fe178c4 /core
parent89246ef0df580ef992a2726e8873105cfe7d775b (diff)
tz: Fix ERE syntax
onetrueawk interprets this as /[^/, which is an invalid character class. Apparently I had been testing with some random version of awk in my local bin directory.
Diffstat (limited to 'core')
-rw-r--r--core/tz/tzdata.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tz/tzdata.awk b/core/tz/tzdata.awk
index 8bd70188..6e24a588 100644
--- a/core/tz/tzdata.awk
+++ b/core/tz/tzdata.awk
@@ -16,7 +16,7 @@ FNR == 1 {
$1 == "Link" {
s = $3
- gsub(/[^/]+/, "..", s)
+ gsub(/[^\/]+/, "..", s)
s = substr(s, 1, length(s) - 2) $2
run(sprintf(cmdfmt, repo, 120000, $3, s))
}