Revert "new change in helpcontent2"
[LibreOffice.git] / config_host.mk.source
blobefd014dbb333ab2feb59790fcbcbbe2ee19a53e2
1 # this script allows to correctly source config_host.mk into existing shell
3 # Usage:
5 #       source ./config_host.mk.source
7 temp_conf=`mktemp config_host.mk.XXXXXX`
8 sed -n -e 's/^\s*\(export [A-Z0-9_]*=\)\(.*\)$/\1"\2"/p' \
9     -e 's/^\s*export\s\+\([A-Z0-9_]*\)?=\(.*\)$/export \1="${\1:-\2}"/p' config_host.mk >$temp_conf
10 source ./$temp_conf
11 rm $temp_conf