Skip to content

Commit

Permalink
fix: catch failures in makefile when building skopeo (#579)
Browse files Browse the repository at this point in the history
Skopeo's build target is an inline shell script.
It needs to run with 'set -e' or it will just keep going
after it fails.

Signed-off-by: Scott Moser <[email protected]>
  • Loading branch information
smoser authored Dec 18, 2023
1 parent a396596 commit d54e250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ $(ZOT):
$(call dlbin,$@,https://github.com/project-zot/zot/releases/download/$(ZOT_VERSION)/zot-linux-amd64-minimal)

$(SKOPEO):
@mkdir -p "$(TOOLS_D)/bin"; \
@set -e; mkdir -p "$(TOOLS_D)/bin"; \
tmpdir=$$(mktemp -d); \
cd $$tmpdir; \
git clone https://github.com/containers/skopeo.git; \
Expand Down

0 comments on commit d54e250

Please sign in to comment.