summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-23 08:45:49 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-23 08:46:37 +0100
commit547249832d5cde98c2973fd5eb31bd30cddb63b9 (patch)
tree331af6c7ed773cb5edeeb41f49dc6ebc2548103c /bootstrap
parentc0a99301f5d854cad8baeaca798549424937598d (diff)
allow leading space
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 3d1bc88a49b6..073f69a70e90 100755
--- a/bootstrap
+++ b/bootstrap
@@ -2,12 +2,12 @@
if test -z "${SRC_ROOT}"; then
if test -f ./config_build.mk ; then
- sed -e 's/^\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' <config_build.mk >config_build.mk.sh
+ sed -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' <config_build.mk >config_build.mk.sh
. ./config_build.mk.sh
rm config_build.mk.sh
else
if test -f ./config_host.mk ; then
- sed -e 's/^\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' <config_host.mk >config_host.mk.sh
+ sed -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/' <config_host.mk >config_host.mk.sh
. ./config_host.mk.sh
rm config_host.mk.sh
fi