summaryrefslogtreecommitdiff
path: root/offapi/type_reference/update-rdb.sh
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-13 11:03:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-12-13 11:05:53 +0100
commit53fbd30b3cd6465251b1b07f4728813d524fcd82 (patch)
treee34ac7ab366dab5778f509a2a5fddffef1b7dfac /offapi/type_reference/update-rdb.sh
parentd04ee940a04922f6fc511882cff956a03b39583b (diff)
Make registry's mergeKey fail if it cannot process regFileName
...so that regmerge fails for bad regfile arguments. Add -v to the regmerge calls in update-rdb.sh so that an error message is printed in case of failure. Change-Id: I6613b9756b4e5628772541580938f6c80fd9bc9e
Diffstat (limited to 'offapi/type_reference/update-rdb.sh')
-rwxr-xr-xoffapi/type_reference/update-rdb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/offapi/type_reference/update-rdb.sh b/offapi/type_reference/update-rdb.sh
index 0f41721b6c5f..79fd29cac01d 100755
--- a/offapi/type_reference/update-rdb.sh
+++ b/offapi/type_reference/update-rdb.sh
@@ -24,10 +24,10 @@ fi
mkdir tmp
for i in "$@"; do
- "${OUTDIR_FOR_BUILD?}"/bin/regmerge tmp/out1.rdb /UCR \
+ "${OUTDIR_FOR_BUILD?}"/bin/regmerge -v tmp/out1.rdb /UCR \
"${WORKDIR_FOR_BUILD?}"/UnoApiPartTarget/"${i%.idl}".urd
done
-"${OUTDIR_FOR_BUILD?}"/bin/regmerge tmp/out2.rdb / \
+"${OUTDIR_FOR_BUILD?}"/bin/regmerge -v tmp/out2.rdb / \
"${SRC_ROOT?}"/offapi/type_reference/types.rdb tmp/out1.rdb
echo "sanity check diff:"
diff <("${OUTDIR_FOR_BUILD?}"/bin/regview \