Skip to content

Commit e2ba6ed

Browse files
committed
[update] : Added --nogitversion
1 parent eda4925 commit e2ba6ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ make_iso() {
10491049
# Parse options
10501050
ARGUMENT=("${DEFAULT_ARGUMENT[@]}" "${@}")
10511051
OPTS=("a:" "b" "c:" "d" "e" "g:" "h" "j" "k:" "l:" "o:" "p:" "r" "t:" "u:" "w:" "x")
1052-
OPTL=("arch:" "boot-splash" "comp-type:" "debug" "cleaning" "cleanup" "gpgkey:" "help" "lang:" "japanese" "kernel:" "out:" "password:" "comp-opts:" "user:" "work:" "bash-debug" "nocolor" "noconfirm" "nodepend" "gitversion" "msgdebug" "noloopmod" "tarball" "noiso" "noaur" "nochkver" "channellist" "config:" "noefi" "nodebug" "nosigcheck" "normwork" "log" "logpath:" "nolog" "nopkgbuild" "pacman-debug" "confirm" "tar-type:" "tar-opts:" "add-module:")
1052+
OPTL=("arch:" "boot-splash" "comp-type:" "debug" "cleaning" "cleanup" "gpgkey:" "help" "lang:" "japanese" "kernel:" "out:" "password:" "comp-opts:" "user:" "work:" "bash-debug" "nocolor" "noconfirm" "nodepend" "gitversion" "msgdebug" "noloopmod" "tarball" "noiso" "noaur" "nochkver" "channellist" "config:" "noefi" "nodebug" "nosigcheck" "normwork" "log" "logpath:" "nolog" "nopkgbuild" "pacman-debug" "confirm" "tar-type:" "tar-opts:" "add-module:" "nogitversion")
10531053
OPT="$(getopt -o "$(printf "%s," "${OPTS[@]}")" -l "$(printf "%s," "${OPTL[@]}")" -- "${ARGUMENT[@]}")" || exit 1
10541054

10551055
eval set -- "${OPT}"
@@ -1242,6 +1242,10 @@ while true; do
12421242
msg_debug "Added modules: ${additional_modules[*]}"
12431243
shift 2
12441244
;;
1245+
--nogitversion)
1246+
gitversion=false
1247+
shift 1
1248+
;;
12451249
--)
12461250
shift
12471251
break

0 commit comments

Comments
 (0)