From e1611532aca551c90c879ca3100a088aff988d75 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 25 Oct 2012 18:13:16 +0200 Subject: config_host.mk can no longer be sourced ...with its ifneq ... endif sections, so require make cmd instead here. Change-Id: Ifab2117c5fb775c0c4ca7001f954716bd09a3844 --- offapi/type_reference/update-rdb.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'offapi/type_reference/update-rdb.sh') diff --git a/offapi/type_reference/update-rdb.sh b/offapi/type_reference/update-rdb.sh index 4b1563510c08..0f41721b6c5f 100755 --- a/offapi/type_reference/update-rdb.sh +++ b/offapi/type_reference/update-rdb.sh @@ -7,23 +7,21 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # +set -e + # Basic argument checks if [ $# -lt 1 ] then echo "usage:" - echo " $0 " + echo " make cmd cmd='$0 '" echo "" echo "example:" - echo " $0 \\" - echo " offapi/com/sun/star/auth/SSOManagerFactory.idl \\" - echo " offapi/com/sun/star/auth/SSOPasswordCache.idl" + echo " make cmd cmd='$0" + echo " offapi/com/sun/star/auth/SSOManagerFactory.idl" + echo " offapi/com/sun/star/auth/SSOPasswordCache.idl'" exit 1 fi -# Load env vars -source "$(dirname "$0")"/../../config_host.mk 2>/dev/null - -set -e mkdir tmp for i in "$@"; do "${OUTDIR_FOR_BUILD?}"/bin/regmerge tmp/out1.rdb /UCR \ -- cgit v1.2.3