From 277b7fd3a483351368604ef2b71fb5ff44801e8b Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Mon, 11 Jun 2012 18:20:23 +0200 Subject: new script config_host.mk.source it allows to source variables from config_host.mk into shell; there are many different hacks for this on other locations Use this script in bin/distro-install-*; The original solution with 'eval' did not work because shell was not able to pass that many arguments Change-Id: I3d9eb2fe2d6804a3c7783487e9c70f093edb2ad5 --- bin/distro-install-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/distro-install-sdk') diff --git a/bin/distro-install-sdk b/bin/distro-install-sdk index f1cb6fe39e11..7184f35a32c7 100755 --- a/bin/distro-install-sdk +++ b/bin/distro-install-sdk @@ -1,7 +1,7 @@ #!/bin/sh if test -z "${SRC_ROOT}"; then - eval $(sed -e s/\'/\'\\\\\'\'/g -e 's/=\(.\+\)/='\''\1'\'/ ./config_host.mk) + source ./config_host.mk.source fi if test -z "${SOLARENV}"; then echo "distro-install-clean-up: No environment set!" -- cgit