Skip to content

Commit

Permalink
Makefile: Tolerate absence of /build directory
Browse files Browse the repository at this point in the history
rpm in Fedora 41 does not actually create the buildrootdir any more, so
don't fail its cleanup if it does not exist.
  • Loading branch information
martinpitt committed Dec 16, 2024
1 parent 1bac39b commit deffe49
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 @@ -141,7 +141,7 @@ rpm: $(TARFILE) $(NODE_CACHE) $(SPEC)
$(SPEC)
find `pwd`/output -name '*.rpm' -printf '%f\n' -exec mv {} . \;
rm -r "`pwd`/rpmbuild"
rm -r "`pwd`/output" "`pwd`/build"
rm -rf "`pwd`/output" "`pwd`/build"

# build a VM with locally built rpm installed, cockpit/ws container, and local
# ostree for testing
Expand Down

0 comments on commit deffe49

Please sign in to comment.