summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 20c82d1..823e719 100644
--- a/Makefile
+++ b/Makefile
@@ -26,8 +26,9 @@ install:
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
uninstall:
- for script in bin/*; do \
- rm -f $(DESTDIR)$(PREFIX)/bin/$$script; \
+ for scriptPath in bin/*; do \
+ scriptFile=$$(basename $$scriptPath); \
+ rm -f $(DESTDIR)$(PREFIX)/bin/$$scriptFile; \
done
rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard
rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1