minor fixes

pull/58/head
Simon Let 6 years ago
parent a6cf02c5d7
commit cfabdcf7da
  1. 2
      .gitmodules
  2. 10
      scripts/install_helper.sh

2
.gitmodules vendored

@ -3,4 +3,4 @@
url = https://github.com/rcaloras/bash-preexec.git url = https://github.com/rcaloras/bash-preexec.git
[submodule "submodules/bash-zsh-compat-widgets"] [submodule "submodules/bash-zsh-compat-widgets"]
path = submodules/bash-zsh-compat-widgets path = submodules/bash-zsh-compat-widgets
url = git@github.com:curusarn/bash-zsh-compat-widgets.git url = https://github.com/curusarn/bash-zsh-compat-widgets.git

@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail
resh_git_dir=~/.resh_git resh_git_dir=~/.resh_git
if ! go version &>/dev/null; then if ! go version &>/dev/null; then
@ -102,7 +104,13 @@ else
read x read x
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
[ $? -eq 0 ] && echo "Installed dep." if [ $? -eq 0 ]; then
echo "Installed dep."
else
echo "Installing dep failed - exiting!"
exit
fi
fi fi
project_path=$GOPATH/src/github.com/curusarn/resh project_path=$GOPATH/src/github.com/curusarn/resh

Loading…
Cancel
Save