Set a temp dir path to a existing but bogus path so the config func actually works.

This commit is contained in:
Pedro Algarvio 2013-01-27 23:29:59 +00:00
parent a2a73a2c39
commit 08c709ac64

View file

@ -1160,7 +1160,10 @@ install_smartos_deps() {
# Let's trigger config_salt()
if [ "$TEMP_CONFIG_DIR" = "null" ]; then
TEMP_CONFIG_DIR="${SALT_GIT_CHECKOUT_DIR}/conf/"
# Since we don't have a source to copy the default configuration or
# even any pre-seeded keys, TEMP_CONFIG_DIR will be a bogus, yet,
# exiting directory so the configuration function works it's best
TEMP_CONFIG_DIR="/"
CONFIG_SALT_FUNC="config_salt"
fi