mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00: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
fa80930877
commit
495772b2d7
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 New Issue
Block a user