Skip to content

Commit acd3371

Browse files
committed
schutzbot/build: use force copy on temporary containerfile
In a scenario where this script is run multiple times in the same directory, make sure to overwrite the temporary containerfile each time.
1 parent eb02668 commit acd3371

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

schutzbot/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ DST_REF=${DST_REF:-local}
6969
for ARCH in $ARCHES; do
7070
for TYPE in $TYPES; do
7171
section_start prepare_containerfile "Preparing Containerfile with FROM ${FROM_REF}"
72-
cp "containerfiles/Containerfile.comment" "Containerfile"
72+
cp -fv "containerfiles/Containerfile.comment" "Containerfile"
7373
{
7474
echo "FROM ${FROM_REF}"
7575
echo "ARG BUILD_DATE=$(date +%Y-%m-%d)"

0 commit comments

Comments
 (0)