From: Alexander Barton Date: Wed, 21 Feb 2018 12:51:22 +0000 (+0100) Subject: Correctly quote variables in mail-wrapper Makefile X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-unix.git;a=commitdiff_plain;h=6bb6e7c9e8e38a30cd0791734f7662a30de54939;hp=21ad0bd3adda75cd126f81931eb8227abbe3346c Correctly quote variables in mail-wrapper Makefile --- diff --git a/mail/wrapper/Makefile b/mail/wrapper/Makefile index 0750b0a..182b532 100644 --- a/mail/wrapper/Makefile +++ b/mail/wrapper/Makefile @@ -1,6 +1,6 @@ # # ax-unix: Alex' UNIX Tools & Scripts -# Copyright (c)2013-2017 Alexander Barton (alex@barton.de) +# Copyright (c)2013-2018 Alexander Barton (alex@barton.de) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ check-local: ./mail-wrapper --help 2>&1 | grep 'mail-wrapper reads from standard input' >/dev/null install-local: mail-wrapper - install -d -o $(USER) -g $(GROUP) -m 755 \ - $(DESTDIR)$(PREFIX)/bin - install -p -o $(USER) -g $(GROUP) -m 755 mail-wrapper \ - $(DESTDIR)$(PREFIX)/bin/mail-wrapper + install -d -o "$(USER)" -g "$(GROUP)" -m 755 \ + "$(DESTDIR)$(PREFIX)/bin" + install -p -o "$(USER)" -g "$(GROUP)" -m 755 mail-wrapper \ + "$(DESTDIR)$(PREFIX)/bin/mail-wrapper"