Skip to content

Commit

Permalink
Permit failure to remove tmp_container
Browse files Browse the repository at this point in the history
On the first time through, `tmp_container` may not
yet exist.

Signed-off-by: Brian Cain <[email protected]>
  • Loading branch information
androm3da committed Oct 6, 2024
1 parent abaf1c7 commit 52ac62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-in-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ docker images

#extract artifacts
for name in hexagon hexagon-win; do
docker rm -f tmp_container
docker rm -f tmp_container || /bin/true
docker create --name tmp_container $name:latest
docker cp tmp_container:/usr/local/hexagon-artifacts ./hexagon-artifacts
docker rm tmp_container
Expand Down

0 comments on commit 52ac62b

Please sign in to comment.