mirror of
https://github.com/jorgebucaran/fisher
synced 2024-09-10 15:07:40 +02:00
Fix broken config.fish symlinks during install (#171)
Credits to @tuvistavie https://github.com/fisherman/fisherman/issues/16#issuecomment-201699699 closes 16
This commit is contained in:
parent
5fcf46623a
commit
ebf92c6749
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -48,7 +48,7 @@ $(FISH_CONFIG):
|
|||
echo "set fisher_config $(FISHER_CONFIG)" | sed "s|$$HOME|~|" >> $@.fisher
|
||||
echo "source \$$fisher_home/config.fish" >> $@.fisher
|
||||
awk 'FNR==NR{ print; a[$$0]; next } !($$0 in a) || /^$$/' $@ $@.fisher > $@.tmp
|
||||
mv $@.tmp $@ && rm $@.fisher
|
||||
cat "$@.tmp" > $@ && rm $@.fisher
|
||||
|
||||
$(FISHER_CACHE):
|
||||
mkdir -p $@
|
||||
|
|
Loading…
Reference in a new issue