* Fixed android setup script, if run as update. (git fetch instead of git pull)
* Checking return of openssl build now and inform about build errors.
This commit is contained in:
parent
4d3ea77972
commit
0e61cd296c
@ -45,7 +45,7 @@ echo "Preparing OpenSSL..."
|
|||||||
OPENSSL_SRC=$ROOT/openssl-build
|
OPENSSL_SRC=$ROOT/openssl-build
|
||||||
if [ -d $OPENSSL_SRC ]; then
|
if [ -d $OPENSSL_SRC ]; then
|
||||||
cd $OPENSSL_SRC
|
cd $OPENSSL_SRC
|
||||||
git pull
|
git fetch
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
else
|
else
|
||||||
git clone $OPENSSL_SCM $OPENSSL_SRC
|
git clone $OPENSSL_SCM $OPENSSL_SRC
|
||||||
@ -64,9 +64,7 @@ make clean
|
|||||||
# The makefile has a bug, which aborts during
|
# The makefile has a bug, which aborts during
|
||||||
# first compilation. Rerun make to build the whole lib.
|
# first compilation. Rerun make to build the whole lib.
|
||||||
make
|
make
|
||||||
make
|
RETVAL=$?
|
||||||
make
|
|
||||||
RETVAL=0 # TODO: Check, why 2 is returned.
|
|
||||||
if [ $RETVAL -ne 0 ]; then
|
if [ $RETVAL -ne 0 ]; then
|
||||||
echo "Failed to execute make command [$RETVAL]"
|
echo "Failed to execute make command [$RETVAL]"
|
||||||
exit -4
|
exit -4
|
||||||
|
Loading…
Reference in New Issue
Block a user