darwin: add usage to generate-sdk-packages.sh

This commit is contained in:
Weijia Wang 2023-01-09 13:08:37 +01:00
parent 2bd3048ea4
commit 9957ee5fd6

View file

@ -1,8 +1,16 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq
# usage:
# generate-sdk-packages.sh macos 11.0.1
usage() {
cat <<EOF
usage: $0 macos 11.0.1
EOF
}
if [ "$#" != 2 ]; then
usage
exit 1
fi
cd $(dirname "$0")