From 98a1cab91d849da86aad5f920da8fe011112b761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Sat, 18 Jan 2020 14:25:13 +0100 Subject: [PATCH] Move new options to .getopt.sh so that upstream script can recognize them --- .getopt.sh | 4 +++- build.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.getopt.sh b/.getopt.sh index 8e7cbc9..3c2940f 100644 --- a/.getopt.sh +++ b/.getopt.sh @@ -5,7 +5,9 @@ # --subdir # --version # --variant +# --installer +# --no-clean # -v | --verbose # -s | --salt BUILD_OPTS_SHORT="d:pa:vs" -BUILD_OPTS_LONG="distribution:,proposed-updates,arch:,subdir:,version:,variant:,verbose,salt" +BUILD_OPTS_LONG="distribution:,proposed-updates,arch:,subdir:,version:,variant:,verbose,salt,installer,no-clean" diff --git a/build.sh b/build.sh index 777a802..c826151 100755 --- a/build.sh +++ b/build.sh @@ -100,7 +100,7 @@ run_and_log() { . $(dirname $0)/.getopt.sh # Parsing command line options -temp=$(getopt -o "$BUILD_OPTS_SHORT" -l "$BUILD_OPTS_LONG,get-image-path,installer,no-clean" -- "$@") +temp=$(getopt -o "$BUILD_OPTS_SHORT" -l "$BUILD_OPTS_LONG,get-image-path" -- "$@") eval set -- "$temp" while true; do case "$1" in