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-file-lists | |
parent | correctly set icon names in desktop files (diff) | |
download | core-277b7fd3a483351368604ef2b71fb5ff44801e8b.tar.gz core-277b7fd3a483351368604ef2b71fb5ff44801e8b.zip |
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-file-lists')
-rwxr-xr-x | bin/distro-install-file-lists | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists index de3b859a39b3..98b3d80fd14e 100755 --- a/bin/distro-install-file-lists +++ b/bin/distro-install-file-lists @@ -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!" |