aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorCharles Cabergs <charles.cabergs@colruytgroup.com>2021-11-22 14:56:26 +0100
committerCharles Cabergs <charles.cabergs@colruytgroup.com>2021-11-22 14:56:26 +0100
commite0f109b24283a442bf5d15a6ce2339589b84de1e (patch)
tree30aa3dd63c2cd90451739e017bc5137321fda646 /install
parent01e485ad66e8fd31bf4c18381b4ba12d8e90db38 (diff)
downloaddotfiles-e0f109b24283a442bf5d15a6ce2339589b84de1e.tar.gz
dotfiles-e0f109b24283a442bf5d15a6ce2339589b84de1e.tar.bz2
dotfiles-e0f109b24283a442bf5d15a6ce2339589b84de1e.zip
Added darwin git config
Diffstat (limited to 'install')
-rwxr-xr-xinstall4
1 files changed, 2 insertions, 2 deletions
diff --git a/install b/install
index fa0c195..653867b 100755
--- a/install
+++ b/install
@@ -45,8 +45,8 @@ link_home_files() {
# generate a file with the file path in this repo and the link for the real path
# each line is in the format: TARGET LINKNAME
find "$rice_dir" -type f |
- sed "/\.$other_platform\./ d" |
- sed -e 'p' -e "s:^$rice_dir:$dest_dir:" -e "s/\.$platform\././" |
+ sed "/\.$other_platform/ d" |
+ sed -e 'p' -e "s:^$rice_dir:$dest_dir:" -e "s/\.$platform//" |
awk '{ if (NR % 2 == 1) { print "'"$(pwd)"'" "/" $0 } else print }' |
xargs -L 2 > "$paths"
< "$paths" cut -d ' ' -f 2 | xargs -L 1 dirname | xargs -L 1 mkdir -pv