aboutsummaryrefslogtreecommitdiff
path: root/dm
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-08-18 20:28:17 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-08-25 07:43:10 -0400
commit282e27ac697b6f444f547a2eb799fc6cfdce0e30 (patch)
treec7b00a3541e4793e802754b50bf0316fbc85906a /dm
parentHandle ZSH path (diff)
Fix path substitution
Diffstat (limited to 'dm')
-rwxr-xr-xdm10
1 files changed, 5 insertions, 5 deletions
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/%: %