浏览代码

Abort installer on errors

Andrew Vit 11 年之前
父节点
当前提交
da1fa3b06a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tools/install.sh

+ 2 - 0
tools/install.sh

@@ -1,3 +1,5 @@
+set -e
+
 if [ ! -n $ZSH ]
 if [ ! -n $ZSH ]
 then
 then
   ZSH=~/.oh-my-zsh
   ZSH=~/.oh-my-zsh