diff --git a/scripts/ios-install-third-party.sh b/scripts/ios-install-third-party.sh index 5813b19b8..2aabd7fe8 100755 --- a/scripts/ios-install-third-party.sh +++ b/scripts/ios-install-third-party.sh @@ -1,10 +1,5 @@ #!/bin/bash -#boostdir="`node ./node_modules/boost-lib/bin/boost-lib download -V 1.63`" -#cd "$boostdir" -#./bootstrap.sh -#./b2 headers - set -e cachedir="$HOME/.rncache" @@ -23,8 +18,12 @@ function fetch_and_unpack () { if [ ! -d "third-party/$dir" ]; then (cd third-party; echo Unpacking "$cachedir/$file"... - tar zxf "$cachedir/$file" - + if ! tar zxf "$cachedir/$file"; then + echo "Unpacking '$cachedir/$file' failed. Debug info:" 2>&1 + ls -l "$cachedir/$file" 2>&1 + shasum ~/.rncache/boost_1_63_0.tar.gz 2>&1 + exit 1 + fi cd "$dir" eval "${cmd:-true}") fi