[vlc-devel] [PATCH] apple: build.sh: remote let

Alexandre Janniaux ajanni at videolabs.io
Fri Mar 12 14:02:20 UTC 2021


Hi,

Typo fixed locally, and it seems that set -e is only in
my local branch, explaining the failure.

Regards,
--
Alexandre Janniaux
Videolabs

On Fri, Mar 12, 2021 at 02:25:07PM +0100, Alexandre Janniaux wrote:
> `let foo=0` return the error code 1, thuse can make the script fails.
> I'm not sure how it was working previously...
> ---
>  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 afc686f879..1d030b3e63 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
> --
> 2.30.2
>


More information about the vlc-devel mailing list