From 2288880b6767c1a211b0b911f699e173cb5f0713 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Thu, 9 Apr 2020 12:37:06 +0200 Subject: buildconf: export: add support for zsh zsh has which built-in. Therefore calling which echo is resulting in something unexpected: $ which echo echo: shell built-in command use $(env which echo), that is using a which command from the PATH variable. Also use $() instead of the deprecated ``. Signed-off-by: Philippe Schenker (cherry picked from commit a4fa7bb1fb198fac82db91576994c98fc1014c71) --- buildconf/export | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildconf') diff --git a/buildconf/export b/buildconf/export index 9f229cf..7508af8 100644 --- a/buildconf/export +++ b/buildconf/export @@ -1,5 +1,5 @@ #!/bin/sh -ECHO=`which echo` +ECHO=$(env which echo) BUILDDIR="../../build" FIRST_TIME=0 cd layers/openembedded-core -- cgit v1.2.3