From c19d305c4f9681568b79e52c43532def4356df71 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 25 Nov 2019 18:30:24 -0500 Subject: [PATCH] share files permission fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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