Skip to content

Commit 2cd8880

Browse files
committed
Exit on error immediately
1 parent 4e02a33 commit 2cd8880

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/install-raptor.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Intended for use with travis CI; see .travis.yml at the root
55

6-
set -x
6+
set -ex
77

88
PACKAGE=raptor2
99
MIN_VERSION=$1
@@ -22,6 +22,9 @@ else
2222
mkdir $BUILD_DIR && cd $BUILD_DIR
2323
wget -O $FILE $URL || curl -o $FILE $URL
2424
tar -x -z -f $FILE && rm $FILE
25-
cd $PACKAGE-$INSTALL_VERSION && ./configure --prefix=/usr && make && sudo make install
25+
cd $PACKAGE-$INSTALL_VERSION
26+
./configure --prefix=/usr
27+
make
28+
sudo make install
2629
cd / && rm -rf $BUILD_DIR
2730
fi

0 commit comments

Comments
 (0)