Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 448057dc..1ce460d1 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -244,10 +244,9 @@ uninstall-local:
install-exec-hook:
for wrapper in $(WRAPPER); do \
- cd $(DESTDIR)$(bindir) && \
- $(RM) $$wrapper; \
+ $(RM) $(DESTDIR)$(bindir)/$${wrapper}; \
+ $(INSTALL) .lib/$${wrapper%-wrapper} $(DESTDIR)$(bindir)/$${wrapper%-wrapper}; \
done
- $(INSTALL) .lib/makepkg $(DESTDIR)$(bindir)/makepkg
for dir in $(LIBMAKEPKGDIRS); do \
$(MKDIR_P) $(DESTDIR)$(libmakepkgdir)/$$dir; \
done