Skip to content

Commit

Permalink
fix(container/nginx-pwa): create tmp file and move them
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed May 1, 2023
1 parent 4530d98 commit 21742c7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ config_js_envsubst() {
return 0
fi
echo >&3 "$ME: Running envsubst on $config_js_path"
envsubst "$defined_envs" < "$config_js_path" > "$config_js_path"
envsubst "$defined_envs" < "$config_js_path" > "tmp-$config_js_path"
mv "tmp-$config_js_path" "$config_js_path"
}

config_js_envsubst
Expand Down

0 comments on commit 21742c7

Please sign in to comment.