mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-13 07:05:10 +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
|
||||
}
|
||||
|
||||
|
||||
default() {
|
||||
ARCH=x64
|
||||
RELEASE_TYPE=retail
|
||||
@ -140,7 +139,7 @@ ROOT_SOL_MAP=(
|
||||
ARR_TO_STR() {
|
||||
local arr=("$@")
|
||||
local joined
|
||||
printf -v joined "%s, " "${arr[@]}";
|
||||
printf -v joined "%s, " "${arr[@]}"
|
||||
echo "${joined%, }"
|
||||
}
|
||||
usage() {
|
||||
@ -212,7 +211,8 @@ ARGUMENT_LIST=(
|
||||
|
||||
default
|
||||
|
||||
opts=$(getopt \
|
||||
opts=$(
|
||||
getopt \
|
||||
--longoptions "$(printf "%s," "${ARGUMENT_LIST[@]}")" \
|
||||
--name "$(basename "$0")" \
|
||||
--options "" \
|
||||
|
Loading…
Reference in New Issue
Block a user