summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-11-25 18:30:24 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-11-25 18:30:24 -0500
commitc19d305c4f9681568b79e52c43532def4356df71 (patch)
tree1c720f4ac0074cc53fc6056357be4296078cdfbc /Makefile
parentea1526dbd2e901aed18be123755a4e790023b2d0 (diff)
share files permission fix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 00e71e8..6633b7b 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ install:
chmod 755 $(DESTDIR)$(PREFIX)/share/mutt-wizard
for shared in share/*; do \
cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \
- chmod 644 $(DESTDIR)$(PREFIX)/share/mutt-wizard/$$shared; \
+ chmod 644 $(DESTDIR)$(PREFIX)/share/mutt-wizard/$$(basename $(notdir $$shared)); \
done
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1