Skip to content

Commit 52342d6

Browse files
committed
Downloader [2.7.1 ~ 2.7.2] exit error if fail on download of library rather than let continue to code compiltion errors
emscripten memory64 renamed 64 as internals are em32 and em64
1 parent 0e0f23f commit 52342d6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/dev/download_libs.sh

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LEGACY=0
88
SILENT_ARGS=""
99
NO_SSL=""
1010
BLEEDING_EDGE=0
11-
DL_VERSION=2.7.1
11+
DL_VERSION=2.7.2
1212
GCC_VERSION=0
1313
TAG=""
1414

@@ -247,7 +247,7 @@ echo " openFrameworks download_libs.sh v$DL_VERSION args=$@"
247247
if [ "$PLATFORM" == "emscripten" ]; then
248248
if [[ $BLEEDING_EDGE = 1 ]] ; then
249249
if [[ $ARCH = "64" ]] ; then
250-
ARCH="_memory64"
250+
ARCH="_64"
251251
fi
252252
fi
253253
fi
@@ -396,6 +396,11 @@ fi
396396
echo " ------ "
397397
for PKG in $PKGS; do
398398
echo " Uncompressing libraries [${PLATFORM}] from [$PKG]"
399+
if [ ! -f "download/$PKG" ]; then
400+
echo "Error: File 'download/$PKG' does not exist!" >&2
401+
exit 71
402+
fi
403+
399404
if [ "$PLATFORM" == "msys2" ] || [ "$PLATFORM" == "vs" ]; then
400405
unzip -qo download/$PKG
401406
# rm -r download/$PKG

0 commit comments

Comments
 (0)