From 1c57cca674f416998bc2adf89c2615544dd16d8d Mon Sep 17 00:00:00 2001 From: Gahfy Date: Fri, 7 Jul 2023 12:39:54 +0700 Subject: [PATCH] Fix call of usage when packing dependencies for one architecture only The doc stated to run `./scripts/pack_dependencies.sh . macos arm64 x86_64` to pack dependencies for universal binaries. However, if you just want to build it for running it locally with the command `./scripts/pack_dependencies.sh . macOS arm64`, the `usage()` method will get called. This fix let you pack dependencies for one architecture only. --- scripts/pack_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pack_dependencies.sh b/scripts/pack_dependencies.sh index 59967353f..996635613 100755 --- a/scripts/pack_dependencies.sh +++ b/scripts/pack_dependencies.sh @@ -11,7 +11,7 @@ usage () { exit 1 } -if [ $# -lt 4 ]; then +if [ $# -lt 3 ]; then usage fi