mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-27 13:44:16 +01:00
Formatting codes
This commit is contained in:
parent
bc48faf17a
commit
70bb0fdb8f
@ -80,7 +80,6 @@ function Gen_Rand_Str {
|
|||||||
tr -dc 'a-zA-Z0-9' </dev/urandom | fold -w "$1" | head -n 1
|
tr -dc 'a-zA-Z0-9' </dev/urandom | fold -w "$1" | head -n 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
default() {
|
default() {
|
||||||
ARCH=x64
|
ARCH=x64
|
||||||
RELEASE_TYPE=retail
|
RELEASE_TYPE=retail
|
||||||
@ -140,7 +139,7 @@ ROOT_SOL_MAP=(
|
|||||||
ARR_TO_STR() {
|
ARR_TO_STR() {
|
||||||
local arr=("$@")
|
local arr=("$@")
|
||||||
local joined
|
local joined
|
||||||
printf -v joined "%s, " "${arr[@]}";
|
printf -v joined "%s, " "${arr[@]}"
|
||||||
echo "${joined%, }"
|
echo "${joined%, }"
|
||||||
}
|
}
|
||||||
usage() {
|
usage() {
|
||||||
@ -212,7 +211,8 @@ ARGUMENT_LIST=(
|
|||||||
|
|
||||||
default
|
default
|
||||||
|
|
||||||
opts=$(getopt \
|
opts=$(
|
||||||
|
getopt \
|
||||||
--longoptions "$(printf "%s," "${ARGUMENT_LIST[@]}")" \
|
--longoptions "$(printf "%s," "${ARGUMENT_LIST[@]}")" \
|
||||||
--name "$(basename "$0")" \
|
--name "$(basename "$0")" \
|
||||||
--options "" \
|
--options "" \
|
||||||
|
Loading…
Reference in New Issue
Block a user