summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 3a7bde9..bd89464 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -186,7 +186,7 @@ install-archtab:
@mkdir -p '$(DESTDIR)/$(archtabdir)'
@set -e; for f in $(archtab); do \
printf ' INSTALL %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$${f#*/}"; \
mkdir -p "$(DESTDIR)/$(archtabdir)/$${ff%/?*}"; \
cp "$(srcdir)/$${f}" "$(DESTDIR)/$(archtabdir)/$${ff}"; \
chmod 644 "$(DESTDIR)/$(archtabdir)/$${ff}"; \
@@ -222,7 +222,7 @@ uninstall-locale:
uninstall-archtab:
@set -e; for f in $(archtab); do \
printf ' RM %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$${f#*/}"; \
rm -f "$(DESTDIR)/$(archtabdir)/$${ff}"; \
rmdir "$(DESTDIR)/$(archtabdir)/$${ff%/?*}" 2>/dev/null || \
true; \