[Libreoffice-commits] .: config_host.mk.source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 9 13:10:56 PST 2012
config_host.mk.source | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 7cf93f92cc3c6126c1cbe4ccef7ec3f76f1a6ca9
Author: Michael Stahl <mstahl at redhat.com>
Date: Fri Nov 9 22:07:52 2012 +0100
fix that silly config_host.mk shell sourcing nonsense
Change-Id: Ia563ee1e100bc86e9b7196bdce6311e24bc36f9c
diff --git a/config_host.mk.source b/config_host.mk.source
index efd014d..786e271 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
More information about the Libreoffice-commits
mailing list