Skip to content

Commit

Permalink
Prevent sed from creating backup file
Browse files Browse the repository at this point in the history
Prevent sed from creationg a backup of bootstrap.php when
it is edited in place by the entrypoint script.
  • Loading branch information
skoranda committed Mar 27, 2020
1 parent 8d2162b commit bb61e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comanage-registry-base/comanage_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fi
# None
##########################################
function comanage_utils::configure_console_logging() {
sed -ie 's/'"'"'engine'"'"' => '"'"'FileLog'"'"'/'"'"'engine'"'"' => '"'"'ConsoleLog'"'"'/' "$COMANAGE_REGISTRY_DIR/app/Config/bootstrap.php"
sed -i -e 's/'"'"'engine'"'"' => '"'"'FileLog'"'"'/'"'"'engine'"'"' => '"'"'ConsoleLog'"'"'/' "$COMANAGE_REGISTRY_DIR/app/Config/bootstrap.php"
}

##########################################
Expand Down

0 comments on commit bb61e38

Please sign in to comment.