From 9874db58d82e392d358eb307bda8ca3624c3c789 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 21 Sep 2009 19:10:35 -0300 Subject: [PATCH] Apply abbr to commands in (v)exec function The (v)exec function removes the full directory component from the command to execute. This can be a little confusing when running local scripts. This patch applies the abbr function to the command instead. --- Lib.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib.mak b/Lib.mak index 58b804f..cb49f2e 100644 --- a/Lib.mak +++ b/Lib.mak @@ -119,7 +119,7 @@ abbr = $(if $(call eq,$(call abbr_helper,$1),$1),$1,$(addprefix \ # and third arguments are optional and are the target name and command name to # pretty print. vexec = $(if $V,\ - echo ' $(notdir $(if $3,$(strip $3),$(firstword $1))) \ + echo ' $(call abbr,$(if $3,$(strip $3),$(firstword $1))) \ $(call abbr,$(if $2,$(strip $2),$@))' ; )$1 # Same as vexec but it silence the echo command (prepending a @ if $V). -- 2.43.0