diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-04-09 12:37:06 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-04-14 18:35:44 +0200 |
commit | a4fa7bb1fb198fac82db91576994c98fc1014c71 (patch) | |
tree | 1fbbc0d5e96549a5d5a858fcac0094a06e9f3738 | |
parent | 32d4cdf84966fd20d7dcd58c25d574f3e1ff947f (diff) |
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 <philippe.schenker@toradex.com>
-rw-r--r-- | buildconf/export | 2 |
1 files changed, 1 insertions, 1 deletions
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 |