Skip to content

Commit

Permalink
Fix error when running tests in COMPATIBLE mode
Browse files Browse the repository at this point in the history
  • Loading branch information
renatocf committed Aug 5, 2019
1 parent 4e28767 commit 735fd80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -4777,7 +4777,7 @@ run_$1: $1
$$(call phony-status,$$(MSG_$2_RUN))

$$(quiet) $$(call store-status, \
$$(call define-faketty);\
$$(call define-faketty) \
$$($2_ENV) $$(call apply-faketty) \
$$($2_WRAP) ./$$< $$($2_ARGS)) $$(ERROR) \
&& $$(call model-error,$$(MSG_$2_ERROR))
Expand Down Expand Up @@ -5650,15 +5650,15 @@ ifndef NO_COLORS
define define-faketty
faketty () { $(SCRIPT) $(SCRIPTFLAGS) \
$(SCRIPTQUOTE)"$$(printf "%s " "$$@")"$(SCRIPTQUOTE) \
| sed '$${/^\r*$$/d;}'; }
| sed '$${/^\r*$$/d;}'; };
endef

define apply-faketty
faketty
endef

define faketty
$(call define-faketty); $(call apply-faketty)
$(call define-faketty) $(call apply-faketty)
endef

endif # NO_COLORS
Expand Down

0 comments on commit 735fd80

Please sign in to comment.