summaryrefslogtreecommitdiff
path: root/config_host.mk.source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-09 22:07:52 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-09 22:07:52 +0100
commit7cf93f92cc3c6126c1cbe4ccef7ec3f76f1a6ca9 (patch)
tree07cccaf9a88cb89d96abda0d1cec5dd21f13b978 /config_host.mk.source
parent2fb005c2e0bbdc8b968ef07fa9dc0c6cfd6a43c1 (diff)
fix that silly config_host.mk shell sourcing nonsense
Change-Id: Ia563ee1e100bc86e9b7196bdce6311e24bc36f9c
Diffstat (limited to 'config_host.mk.source')
-rw-r--r--config_host.mk.source3
1 files changed, 2 insertions, 1 deletions
diff --git a/config_host.mk.source b/config_host.mk.source
index efd014dbb333..786e271fb8e8 100644
--- a/config_host.mk.source
+++ b/config_host.mk.source
@@ -5,7 +5,8 @@
# source ./config_host.mk.source
temp_conf=`mktemp config_host.mk.XXXXXX`
-sed -n -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/p' \
+sed -n -e 's/$(gb_SPACE)/ /g' \
+ -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/p' \
-e 's/^\s*export\s\+\([A-Z0-9_]*\)?=\(.*\)$/export \1="${\1:-\2}"/p' config_host.mk >$temp_conf
source ./$temp_conf
rm $temp_conf