Fix install script.

This commit is contained in:
Jorge Bucaran 2016-04-19 01:09:40 +09:00
parent 64177787eb
commit 785e77f91a
2 changed files with 3 additions and 1 deletions

View File

@ -4,5 +4,5 @@ before_install:
- sudo apt-get update - sudo apt-get update
- sudo apt-get -y install fish - sudo apt-get -y install fish
script: script:
- curl -sL get.fisherman.sh | fish - git clone https://github.com/fisherman/fisherman
- fish -c "fisher i fishery/fishtape; fishtape test/*.fish" - fish -c "fisher i fishery/fishtape; fishtape test/*.fish"

View File

@ -140,6 +140,8 @@ function __fisher_install_fisherman
mkdir -p $fish_config mkdir -p $fish_config
pushd $fish_config pushd $fish_config
touch config.fish
echo 'set -g fisher_home $fisher_home' | sed 's|/\$||;s|$home|~|' >> fisherconf echo 'set -g fisher_home $fisher_home' | sed 's|/\$||;s|$home|~|' >> fisherconf
echo 'set -g fisher_config $fisher_config' | sed 's|$home|~|' >> fisherconf echo 'set -g fisher_config $fisher_config' | sed 's|$home|~|' >> fisherconf
echo 'source \$fisher_home/config.fish' >> fisherconf echo 'source \$fisher_home/config.fish' >> fisherconf