bin/distro-install*: source config_host.mk instead of Env.Host.sh

thanks Stefan Bergman for improving the sed pattern
This commit is contained in:
Petr Mladek
2012-02-29 20:26:13 +01:00
parent b9b8ae8a48
commit a0238fda86
4 changed files with 28 additions and 4 deletions

View File

@@ -1,6 +1,12 @@
#!/bin/sh #!/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
echo "Cleaning up ..."; echo "Cleaning up ...";

View File

@@ -1,6 +1,12 @@
#!/bin/sh #!/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
PRODUCTVERSION_NODOT=`echo $PRODUCTVERSION | sed -e "s/\.//"` PRODUCTVERSION_NODOT=`echo $PRODUCTVERSION | sed -e "s/\.//"`

View File

@@ -1,6 +1,12 @@
#!/bin/sh #!/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` BUILDDIR=`pwd`
FILELISTSDIR="$BUILDDIR/file-lists" FILELISTSDIR="$BUILDDIR/file-lists"

View File

@@ -1,6 +1,12 @@
#!/bin/sh #!/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
if test -d $DESTDIR$INSTALLDIR/sdk ; then if test -d $DESTDIR$INSTALLDIR/sdk ; then