summaryrefslogtreecommitdiff
path: root/offapi/type_reference/update-rdb.sh
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-10-25 18:13:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-26 08:36:57 +0200
commite1611532aca551c90c879ca3100a088aff988d75 (patch)
tree5566dd155484e96b9731c684df34b4c1ce1b6a0a /offapi/type_reference/update-rdb.sh
parentddb9c307e9bdd90f41ae524af52e698aa10211d5 (diff)
config_host.mk can no longer be sourced
...with its ifneq ... endif sections, so require make cmd instead here. Change-Id: Ifab2117c5fb775c0c4ca7001f954716bd09a3844
Diffstat (limited to 'offapi/type_reference/update-rdb.sh')
-rwxr-xr-xoffapi/type_reference/update-rdb.sh14
1 files changed, 6 insertions, 8 deletions
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 <idl file list>"
+ echo " make cmd cmd='$0 <idl file list>'"
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 \