diff options
author | Petr Mladek <pmladek@suse.cz> | 2012-02-29 20:26:13 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-02-29 20:29:34 +0100 |
commit | a0238fda86e18f8a282f9307bd6b201f97f5f331 (patch) | |
tree | 3636e5a9b5ffa788f983b70500b79b116090de96 /bin/distro-install-file-lists | |
parent | Don't generate Thumb code to avoid ld bug in NDK r7b (diff) | |
download | core-a0238fda86e18f8a282f9307bd6b201f97f5f331.tar.gz core-a0238fda86e18f8a282f9307bd6b201f97f5f331.zip |
bin/distro-install*: source config_host.mk instead of Env.Host.sh
thanks Stefan Bergman for improving the sed pattern
Diffstat (limited to 'bin/distro-install-file-lists')
-rwxr-xr-x | bin/distro-install-file-lists | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists index 7282a67a927b..0f6e60ae1281 100755 --- a/bin/distro-install-file-lists +++ b/bin/distro-install-file-lists @@ -1,6 +1,12 @@ #!/bin/sh -. ./*[Ee]nv.[Hh]ost.sh +if test -z "${SRC_ROOT}"; then + eval $(sed -e s/\'/\'\\\\\'\'/g -e 's/=\(.\+\)/='\''\1'\'/ ./config_host.mk) +fi +if test -z "${SOLARENV}"; then + echo "distro-install-clean-up: No environment set!" + exit 1 +fi BUILDDIR=`pwd` FILELISTSDIR="$BUILDDIR/file-lists" |