make/rules-source.mk: Suppress grep warnings.
The second grep in sequence can exit early (-q, as soon as we have one match it exits with a success) which makes the first grep unhappy as its write pipe is closed early, resulting in: syncing vulkan-loader... grep: write error: Broken pipe Let's silence those errors.
This commit is contained in:
parent
bc63dbbf2a
commit
b2b17774e4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ $$(OBJ)/.$(1)-source: SHELL := $$(SHELL)
|
||||||
$$(OBJ)/.$(1)-source: $$(if $$(NO_MAKEFILE_DEPENDENCY),,$$(MAKEFILE_LIST))
|
$$(OBJ)/.$(1)-source: $$(if $$(NO_MAKEFILE_DEPENDENCY),,$$(MAKEFILE_LIST))
|
||||||
$$(OBJ)/.$(1)-source: $$(shell echo -n 'syncing $(1)... ' >&2 && \
|
$$(OBJ)/.$(1)-source: $$(shell echo -n 'syncing $(1)... ' >&2 && \
|
||||||
rsync --dry-run --filter=:C --exclude '*~' --exclude .git $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" | \
|
rsync --dry-run --filter=:C --exclude '*~' --exclude .git $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" | \
|
||||||
grep -v -e ^$$$$ | grep -q ^ && echo $(1)-rebuild && \
|
grep -v -e ^$$$$ 2>/dev/null | grep -q ^ && echo $(1)-rebuild && \
|
||||||
echo 'done, dirty' >&2 || echo 'done' >&2)
|
echo 'done, dirty' >&2 || echo 'done' >&2)
|
||||||
rsync --filter=:C --exclude '*~' --exclude .git $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" $(--quiet?)
|
rsync --filter=:C --exclude '*~' --exclude .git $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" $(--quiet?)
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|
Loading…
Reference in a new issue