ooo-build r14373 - trunk/bin
- From: jholesovsky svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r14373 - trunk/bin
- Date: Tue, 21 Oct 2008 15:47:58 +0000 (UTC)
Author: jholesovsky
Date: Tue Oct 21 15:47:58 2008
New Revision: 14373
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14373&view=rev
Log:
Do nothing if we failed to obtain the merge base.
Modified:
trunk/bin/cws-extract
Modified: trunk/bin/cws-extract
==============================================================================
--- trunk/bin/cws-extract (original)
+++ trunk/bin/cws-extract Tue Oct 21 15:47:58 2008
@@ -20,6 +20,8 @@
MERGE_BASE=`grep -A 1 '^--------------------------------------' "$LOG" | \
grep '^r' | tail -n 1 | sed 's/^r\([0-9]*\)[^0-9].*/\1/'`
-svn diff -r $MERGE_BASE "svn+ssh://svn svn services openoffice org/ooo/cws/$CWS" > "cws-$CWS.diff"
+if [ -n "$MERGE_BASE" ] ; then
+ svn diff -r $MERGE_BASE "svn+ssh://svn svn services openoffice org/ooo/cws/$CWS" > "cws-$CWS.diff"
+fi
rm "$LOG"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]