summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/build b/build
index 0fe2c04..34bcdf5 100755
--- a/build
+++ b/build
@@ -44,12 +44,12 @@ install: build
fi; \
rm -f "$${p}.data/usr/share/zoneinfo/$${src}"; \
link="$${src}" up=''; \
- while [ "$${link#*/}" != "$${link}" ] && \
- [ "$${link%%/*}" = "$${dest%%/*}" ]; do \
+ while [ x"$${link#*/}" != x"$${link}" ] && \
+ [ x"$${link%%/*}" = x"$${dest%%/*}" ]; do \
link="$${link#*/}"; \
dest="$${dest#*/}"; \
done; \
- while [ "$${link#*/}" != "$${link}" ]; do \
+ while [ x"$${link#*/}" != x"$${link}" ]; do \
link="$${link#*/}"; \
up="../$${up}"; \
done; \
@@ -68,12 +68,12 @@ install: build
$(tables))"; \
fi; \
link="$${src}" up=''; \
- while [ "$${link#*/}" != "$${link}" ] && \
- [ "$${link%%/*}" = "$${dest%%/*}" ]; do \
+ while [ x"$${link#*/}" != x"$${link}" ] && \
+ [ x"$${link%%/*}" = x"$${dest%%/*}" ]; do \
link="$${link#*/}"; \
dest="$${dest#*/}"; \
done; \
- while [ "$${link#*/}" != "$${link}" ]; do \
+ while [ x"$${link#*/}" != x"$${link}" ]; do \
link="$${link#*/}"; \
up="../$${up}"; \
done; \