From 282e27ac697b6f444f547a2eb799fc6cfdce0e30 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 18 Aug 2011 20:28:17 -0400 Subject: Fix path substitution --- dm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dm') diff --git a/dm b/dm index 467d694..689d463 100755 --- a/dm +++ b/dm @@ -79,7 +79,7 @@ build/.offlineimaprc: .offlineimaprc $(SUBSTS_FILE) build/.gitconfig: .gitconfig $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir $(dir $@) - sed -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' $< > $@ + sed -e 's:MSMTP_PATH:$(MSMTP_PATH):g' $< > $@ build/.imapfilter/config.lua: .imapfilter/config.lua $(SUBSTS_FILE) [ -d build/.imapfilter ] || mkdir -p build/.imapfilter @@ -97,18 +97,18 @@ build/.msmtprc: .msmtprc $(SUBSTS_FILE) build/.muttrc: .muttrc $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir $(dir $@) - sed -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' $< > $@ + sed -e 's:MSMTP_PATH:$(MSMTP_PATH):g' $< > $@ build/.mutt/accounts.rc: .mutt/accounts.rc $(SUBSTS_FILE) [ -d build/.mutt ] || mkdir -p build/.mutt sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' \ -e 's/GMAIL_PASS/$(GMAIL_PASS)/g' \ -e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' \ - -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' $< > $@ + -e 's:MSMTP_PATH:$(MSMTP_PATH):g' $< > $@ build/.screenrc: .screenrc $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir $(dir $@) - sed -e 's/ZSH_PATH/$(ZSH_PATH)/g' $< > $@ + sed -e 's:ZSH_PATH:$(ZSH_PATH):g' $< > $@ build/.xinitrc: .xinitrc $(SUBSTS_FILE) [ -d build ] || mkdir build @@ -123,7 +123,7 @@ build/.xmonad/xmonad.hs: .xmonad/xmonad.hs $(SUBSTS_FILE) build/.zshrc: .zshrc $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir -p $(dir $@) sed -e 's/LOCALE/$(LOCALE)/g' \ - -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' \ + -e 's:MSMTP_PATH:$(MSMTP_PATH):g' \ -e 's/SUBSTS_LS/$(SUBSTS_LS)/g' $< > $@ build/%: % -- cgit v1.2.3