Skip to content

Commit 5020160

Browse files
committed
[BUILD] Remove '-r' from xargs
This breaks OSX and should be largely unecessary since we ignore errors anyway Change-Id: I9ea64b676ed65a28ce8b19ee7675b5d5d237b05c Signed-off-by: Greg Haskins <[email protected]>
1 parent 8dd382c commit 5020160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ src-image-clean: ccenv-image-clean peer-image-clean orderer-image-clean
247247

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

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

0 commit comments

Comments
 (0)