1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-16 03:44:56 +02:00

build.sh: add nsis to --pkg-type

This commit is contained in:
Henrik Hautakoski 2020-04-22 18:01:40 +02:00
parent a350dd5846
commit 8d925536ba

View file

@ -1,7 +1,7 @@
#!/bin/bash
function usage() {
echo "Usage: ${0##*/} [ -h|--help ] [ --no-cli ] [ --gui] [ -t|--type Debug|Release|RelWithDebInfo|MinSizeRel ] [--pkg-type deb|zip|tgz] [ --disable-threads ] [ --force-ansi ]"
echo "Usage: ${0##*/} [ -h|--help ] [ --no-cli ] [ --gui] [ -t|--type Debug|Release|RelWithDebInfo|MinSizeRel ] [--pkg-type nsis|deb|zip|tgz] [ --disable-threads ] [ --force-ansi ]"
exit 1
}
@ -26,7 +26,7 @@ while true; do
;;
--pkg-type)
shift
[[ ! "$1" =~ ^(deb|zip|tgz)$ ]] && {
[[ ! "$1" =~ ^(nsis|deb|zip|tgz)$ ]] && {
echo "Incorrect package type '$1' provided"
usage
}