瀏覽代碼

Deal more gracefully with errors

pull/3/head
Dave Smith 15 年之前
父節點
當前提交
33e53942d3
共有 1 個檔案被更改,包括 4 行新增3 行删除
  1. +4
    -3
      install

+ 4
- 3
install 查看文件

@ -1,8 +1,5 @@
#!/bin/bash
# Fail on first error
set -e
## Check path for exiting rebar instance -- if it's around, use it
## for compilation (NOT installation!)
`which -s rebar`
@ -13,6 +10,10 @@ else
erlc -I include -o ebin src/*.erl
fi
if [ $? != 0 ]; then
exit $?
fi
## Use application installer to perform actual installation
## into erlang distro
export ERL_LIBS=`(cd .. && pwd)`

Loading…
取消
儲存