diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-06 10:34:36 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-06 10:34:36 (EDT) |
commit | b07ae3a0d922f0d43b2245017d67e8b70be1da90 (patch) | |
tree | 1fc23c3ef5a36f8eab6891a7a1dea746c644d75a | |
parent | de909eaef8acffb2a34daf817791bab82d249241 (diff) |
build: Set p before inner loop
-rwxr-xr-x | build | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,10 +37,10 @@ install: build ln -sf /usr/share/zoneinfo/Factory tzdata.data/etc/localtime # Install time zones. set -e; for t in $(tables); do \ - src/zic -d tzdata-$${t}.data/usr/share/zoneinfo src/$${t}; \ + p="tzdata-$${t}"; \ + src/zic -d "$${p}.data/usr/share/zoneinfo" "src/$${t}"; \ grep '^L' src/$${t} | while read type dest src etc; do \ rm -f "tzdata-$${t}.data/usr/share/zoneinfo/$${src}"; \ - p="tzdata-$${t}"; \ link="$${src}" up=''; \ while [ x"$${link#*/}" != x"$${link}" ] && \ [ x"$${link%%/*}" = x"$${dest%%/*}" ]; do \ |