summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-11-24 08:26:16 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-11-24 08:26:16 -0500
commit15941b43e7cec4b66ad2e9911ca791f365aac362 (patch)
treec1cec9276dc87e4bacfd687a56abd2beff904316
parent02b8e2a58c603b841c747b71a7a2b6c1e70c7912 (diff)
Revert "Fix script removal (#310)"
This reverts commit 4904fcf51f878a8648d333d2fac7cbfe2728c47b.
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 823e719..20c82d1 100644
--- a/Makefile
+++ b/Makefile
@@ -26,9 +26,8 @@ install:
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
uninstall:
- for scriptPath in bin/*; do \
- scriptFile=$$(basename $$scriptPath); \
- rm -f $(DESTDIR)$(PREFIX)/bin/$$scriptFile; \
+ for script in bin/*; do \
+ rm -f $(DESTDIR)$(PREFIX)/bin/$$script; \
done
rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard
rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1