Added forgotten getopt letter
This commit is contained in:
parent
dfe96a581d
commit
38aab1c30a
2
setup.sh
2
setup.sh
@ -32,7 +32,7 @@ RUNPOD=false
|
|||||||
INTERACTIVE=false
|
INTERACTIVE=false
|
||||||
PUBLIC=false
|
PUBLIC=false
|
||||||
|
|
||||||
while getopts "b:d:g:ir-:" opt; do
|
while getopts "b:d:g:ipr-:" opt; do
|
||||||
# support long options: https://stackoverflow.com/a/28466267/519360
|
# support long options: https://stackoverflow.com/a/28466267/519360
|
||||||
if [ "$opt" = "-" ]; then # long option: reformulate OPT and OPTARG
|
if [ "$opt" = "-" ]; then # long option: reformulate OPT and OPTARG
|
||||||
opt="${OPTARG%%=*}" # extract long option name
|
opt="${OPTARG%%=*}" # extract long option name
|
||||||
|
Loading…
Reference in New Issue
Block a user