mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Stop immediately if error during erlang build
This commit is contained in:
parent
dc65f3a51c
commit
6c621b38a1
@ -9,15 +9,14 @@ install_erlang() {
|
||||
|
||||
# running this in a subshell
|
||||
# because we don't want to disturb current working dir
|
||||
echo
|
||||
(
|
||||
cd $(dirname $source_path)
|
||||
tar zxf $source_path
|
||||
tar zxf $source_path || exit 1
|
||||
cd $(untar_path $1)
|
||||
./otp_build autoconf
|
||||
./configure --prefix=$install_path
|
||||
make
|
||||
make install
|
||||
./otp_build autoconf || exit 1
|
||||
./configure --prefix=$install_path || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user