mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-02 11:43:40 +02:00
build.sh: add nsis to --pkg-type
This commit is contained in:
parent
a350dd5846
commit
8d925536ba
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function usage() {
|
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
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@ while true; do
|
||||||
;;
|
;;
|
||||||
--pkg-type)
|
--pkg-type)
|
||||||
shift
|
shift
|
||||||
[[ ! "$1" =~ ^(deb|zip|tgz)$ ]] && {
|
[[ ! "$1" =~ ^(nsis|deb|zip|tgz)$ ]] && {
|
||||||
echo "Incorrect package type '$1' provided"
|
echo "Incorrect package type '$1' provided"
|
||||||
usage
|
usage
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue