Show release-config's stderr
Currently, both stdout and stderr are redirected to a file. We want stderr to be visible on the terminal in case the release config fails. Test: m nothing Change-Id: I1337718fe8f9394be3017cc8b6d76f8dc1a94ef0
This commit is contained in:
parent
1c51c14142
commit
50dc47d13a
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ ifneq (,$(_use_protobuf))
|
|||
_flags_file:=$(OUT_DIR)/soong/release-config/release_config-$(TARGET_PRODUCT)-$(TARGET_RELEASE).vars
|
||||
# release-config generates $(_flags_varmk)
|
||||
_flags_varmk:=$(_flags_file:.vars=.varmk)
|
||||
$(shell $(OUT_DIR)/release-config $(_args) >$(OUT_DIR)/release-config.out 2>&1 && touch -t 200001010000 $(_flags_varmk))
|
||||
$(shell $(OUT_DIR)/release-config $(_args) >$(OUT_DIR)/release-config.out && touch -t 200001010000 $(_flags_varmk))
|
||||
$(if $(filter-out 0,$(.SHELLSTATUS)),$(error release-config failed to run))
|
||||
ifneq (,$(_final_product_config_pass))
|
||||
# Save the final version of the config.
|
||||
|
|
Loading…
Reference in a new issue