[vlc-commits] apple: build.sh: remove let

Alexandre Janniaux git at videolan.org
Sat Mar 13 13:06:24 UTC 2021


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Fri Mar 12 14:23:59 2021 +0100| [c9a631d794d225bdb99dcace5d5b5eab11459feb] | committer: Alexandre Janniaux

apple: build.sh: remove let

`let foo=0` return the error code 1, thuse can make the script fails if
set -e is used in the build script.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9a631d794d225bdb99dcace5d5b5eab11459feb
---

 extras/package/apple/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/apple/build.sh b/extras/package/apple/build.sh
index 4190938f86..7877bf9676 100755
--- a/extras/package/apple/build.sh
+++ b/extras/package/apple/build.sh
@@ -93,7 +93,7 @@ VLC_PREBUILT_CONTRIBS_URL=${VLC_PREBUILT_CONTRIBS_URL:-""}
 # The number of cores to compile on
 CORE_COUNT=$(sysctl -n machdep.cpu.core_count || nproc || echo 0)
 let VLC_USE_NUMBER_OF_CORES=$CORE_COUNT+1
-let VLC_REQUESTED_CORE_COUNT=0
+VLC_REQUESTED_CORE_COUNT=0
 # whether to disable debug mode (the default) or not
 VLC_DISABLE_DEBUG=0
 # whether to compile with bitcode or not



More information about the vlc-commits mailing list