darwin: add usage to generate-sdk-packages.sh
This commit is contained in:
parent
2bd3048ea4
commit
9957ee5fd6
1 changed files with 10 additions and 2 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue