mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-02 18:13:13 +02:00
check do_access_token before adding it to EXTRA_VARS
This commit is contained in:
parent
02f363d825
commit
4e4a3bdd74
1 changed files with 4 additions and 1 deletions
5
algo
5
algo
|
@ -222,7 +222,10 @@ Enter the number of your desired region:
|
|||
esac
|
||||
|
||||
ROLES="digitalocean vpn cloud"
|
||||
EXTRA_VARS="do_access_token=$do_access_token do_server_name=$do_server_name do_region=$do_region"
|
||||
EXTRA_VARS="do_server_name=$do_server_name do_region=$do_region"
|
||||
if [ -n "$do_access_token" ]; then
|
||||
EXTRA_VARS="$EXTRA_VARS do_access_token=$do_access_token"
|
||||
fi
|
||||
}
|
||||
|
||||
ec2 () {
|
||||
|
|
Loading…
Add table
Reference in a new issue