Preserve configs between migration run phases
This commit is contained in:
parent
5f6c63e207
commit
8e90fac7a0
@ -8,10 +8,10 @@ else
|
|||||||
mkdir -p $DEV_DATA_DIR
|
mkdir -p $DEV_DATA_DIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z $DEV_CONFIG_RESET ]; then
|
if [ -z $DEV_CONFIG_RESET ]; then
|
||||||
if [ -f ${DEV_DATA_DIR}/env_reset ]; then
|
if [ -f ${DEV_DATA_DIR}/env_reset ]; then
|
||||||
>&2 echo "using existing config file ${DEV_DATA_DIR}/env_reset"
|
>&2 echo "importing existing configuration values from ${DEV_DATA_DIR}/env_reset"
|
||||||
exit 0
|
. ${DEV_DATA_DIR}/env_reset
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user