index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-10-25 21:02:02 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-12-05 15:20:08 +1000 |
commit | 37b73fe4fbec05e86959d234413510463ea35141 (patch) | |
tree | 8f4fbe8dbe80ee349188119e6e9c5b060045ab73 /scripts/Makefile.am | |
parent | 0dbc55a35738d0e3718f99a428253140f282ef9a (diff) |
-rw-r--r-- | scripts/Makefile.am | 5 |
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 |