diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-03-19 14:27:59 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-03-19 14:31:36 -0400 |
commit | bfc3c073acdc71031baf9d1f0835de044ab335e0 (patch) | |
tree | 8ffb646c132d01bc6ffe72699f9d14a1be718e0d | |
parent | Added ubuntu to caslab known hosts (diff) |
Make awk script generating msmtp aliases in Makefile portable
Diffstat (limited to '')
-rwxr-xr-x | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ emacsen: build/bin/msmtp/msmtp-default: build/.msmtprc -mkdir -p $(dir $@) - awk '/account/ { print "#!/bin/sh" > "$(dir $@)/msmtp-"$$2 ; print "$(call get-val,MSMTP_PATH) -a " $$2 " \"$$@\"" >> "$(dir $@)/msmtp-"$$2 }' $< + awk '/account/ { FNAME = "$(dir $@)/msmtp-"$$2; print "#!/bin/sh" > FNAME ; print "$(call get-val,MSMTP_PATH) -a " $$2 " \"$$@\"" >> FNAME }' $< chmod 755 build/bin/msmtp/* build/%: % $(SUBSTS_FILE) |