Skip to content

Commit

Permalink
[BUILD] Remove '-r' from xargs
Browse files Browse the repository at this point in the history
This breaks OSX and should be largely unecessary since we ignore errors anyway

Change-Id: I9ea64b676ed65a28ce8b19ee7675b5d5d237b05c
Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Nov 7, 2016
1 parent 8dd382c commit 5020160
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 @@ -247,7 +247,7 @@ src-image-clean: ccenv-image-clean peer-image-clean orderer-image-clean

%-image-clean:
$(eval TARGET = ${patsubst %-image-clean,%,${@}})
-docker images -q $(PROJECT_NAME)-$(TARGET) | xargs -r docker rmi -f
-docker images -q $(PROJECT_NAME)-$(TARGET) | xargs docker rmi -f
-@rm -rf build/image/$(TARGET) ||:

images-clean: $(patsubst %,%-image-clean, $(IMAGES))
Expand Down

0 comments on commit 5020160

Please sign in to comment.