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:
@@ -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 ...";
|
||||||
|
|
||||||
|
@@ -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/\.//"`
|
||||||
|
|
||||||
|
@@ -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"
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user