Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / bin / get_config_variables
blob60a2bdc0478887b0a4b5e1614ac2ff57e43b3ea8
1 #!/bin/sh
2 #set -x
4 glv_var="$1"
5 glv_config="config_host.mk"
7 if [ "$glv_var" = "--build" ] ; then
8 glv_config="config_build.mk"
9 shift
10 elif [ "$glv_var" = "--host" ] ; then
11 shift
14 while [ -n "$1" ] ; do
15 glv_var="$1"
16 shift
17 glv_value=$(grep "^ *export ${glv_var}=" ${glv_config} | sed -e "s/[^=]*=//")
18 export ${glv_var}="${glv_value}"
19 done
21 unset glv_var
22 unset glv_value
23 unset glv_config