Merge "read_password needs to store in .localrc.auto if local.conf is used."
This commit is contained in:
6
stack.sh
6
stack.sh
@@ -362,7 +362,11 @@ function read_password {
|
|||||||
var=$1; msg=$2
|
var=$1; msg=$2
|
||||||
pw=${!var}
|
pw=${!var}
|
||||||
|
|
||||||
localrc=$TOP_DIR/localrc
|
if [[ -f $RC_DIR/localrc ]]; then
|
||||||
|
localrc=$TOP_DIR/localrc
|
||||||
|
else
|
||||||
|
localrc=$TOP_DIR/.localrc.auto
|
||||||
|
fi
|
||||||
|
|
||||||
# If the password is not defined yet, proceed to prompt user for a password.
|
# If the password is not defined yet, proceed to prompt user for a password.
|
||||||
if [ ! $pw ]; then
|
if [ ! $pw ]; then
|
||||||
|
Reference in New Issue
Block a user