diff options
| author | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2021-11-22 14:56:26 +0100 |
|---|---|---|
| committer | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2021-11-22 14:56:26 +0100 |
| commit | e0f109b24283a442bf5d15a6ce2339589b84de1e (patch) | |
| tree | 30aa3dd63c2cd90451739e017bc5137321fda646 /install | |
| parent | 01e485ad66e8fd31bf4c18381b4ba12d8e90db38 (diff) | |
| download | dotfiles-e0f109b24283a442bf5d15a6ce2339589b84de1e.tar.gz dotfiles-e0f109b24283a442bf5d15a6ce2339589b84de1e.tar.bz2 dotfiles-e0f109b24283a442bf5d15a6ce2339589b84de1e.zip | |
Added darwin git config
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
