github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/kati/testcase/shell_var_with_args.mk (about)

     1  # TODO(go): Fix
     2  
     3  MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')
     4  
     5  ifeq ($(MAKEVER),4)
     6  
     7  # GNU make 4 escapes $(SHELL).
     8  test:
     9  	echo test skipped
    10  
    11  else
    12  
    13  export FOO=-x
    14  
    15  override SHELL := PS4="cmd: " /bin/bash $${FOO}
    16  $(info $(shell echo foo))
    17  
    18  test:
    19  	@echo baz
    20  
    21  endif