equal
deleted
inserted
replaced
111 .ONESHELL: |
111 .ONESHELL: |
112 install: |
112 install: |
113 declare -a files |
113 declare -a files |
114 for item in $(OVERRIDDEN_ITEMS); do |
114 for item in $(OVERRIDDEN_ITEMS); do |
115 if [[ -f $$item ]]; then |
115 if [[ -f $$item ]]; then |
116 if [[ $$item == */* ]]; then |
116 case "$$item" in |
117 $(INSTALL_DATA) $$item $(HOME)/$$item |
117 */*) $(INSTALL_DATA) $$item $(HOME)/$$item ;; |
118 else |
118 *) files+=($$item) ;; |
119 files+=($$item) |
119 esac |
120 fi |
|
121 elif [[ -d $$item ]]; then |
120 elif [[ -d $$item ]]; then |
122 find $$item -type f -exec $(INSTALL_DATA) {} $(HOME)/{} ';' |
121 find $$item -type f -exec $(INSTALL_DATA) {} $(HOME)/{} ';' |
123 fi |
122 fi |
124 done |
123 done |
125 cat .gitconfig .gitconfig.extra >$(HOME)/.gitconfig |
124 cat .gitconfig .gitconfig.extra >$(HOME)/.gitconfig |