Skip to content
This repository has been archived by the owner on Apr 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #204 from thz/always-config
Browse files Browse the repository at this point in the history
Always copy release-config to running-config
  • Loading branch information
bitwalker committed Oct 8, 2015
2 parents f24dda2 + 1086728 commit 4f264da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions priv/rel/files/boot
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ generate_config() {
if [ -f "$__schema_file" ]; then
if [ -f "$__conform_file" ]; then
__running_conf="$GENERATED_CONFIG_DIR/$REL_NAME.conf"
if [ ! -f "$__running_conf" ]; then
cp "$__conform_file" "$__running_conf"
__conform_file="$__running_conf"
else
__conform_file="$__running_conf"
fi

# always copy release-config to running-config
echo "copying $__conform_file to $__running_conf ..."
cp "$__conform_file" "$__running_conf"
__conform_file="$__running_conf"

echo "using $__conform_file to populate \"$GENERATED_CONFIG_DIR\"."
__conform="$REL_DIR/conform"
# Handle the case where the current version did not bundle conform in the release
Expand Down

0 comments on commit 4f264da

Please sign in to comment.