diff options
author | Petr Mladek <pmladek@suse.cz> | 2012-06-11 18:20:23 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-06-11 18:24:22 +0200 |
commit | 277b7fd3a483351368604ef2b71fb5ff44801e8b (patch) | |
tree | 6e8340cf8edb8f8f7453b4a1045572f4b318347e /bin/distro-install-clean-up | |
parent | 525bd17ff257863226119e310fa69791aeb59d8a (diff) |
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
Diffstat (limited to 'bin/distro-install-clean-up')
-rwxr-xr-x | bin/distro-install-clean-up | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/distro-install-clean-up b/bin/distro-install-clean-up index 54dd1f3822ca..170ceb910beb 100755 --- a/bin/distro-install-clean-up +++ b/bin/distro-install-clean-up @@ -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!" |