You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by ns...@apache.org on 2013/03/23 21:32:58 UTC

git commit: Handle missing file

Updated Branches:
  refs/heads/master f4eea29b7 -> f6a4b5c6a


Handle missing file


Project: http://git-wip-us.apache.org/repos/asf/couchdb-admin/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-admin/commit/f6a4b5c6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-admin/tree/f6a4b5c6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-admin/diff/f6a4b5c6

Branch: refs/heads/master
Commit: f6a4b5c6a602d3cf235b0731d59ca980595344a8
Parents: f4eea29
Author: Noah Slater <ns...@apache.org>
Authored: Sat Mar 23 20:32:49 2013 +0000
Committer: Noah Slater <ns...@apache.org>
Committed: Sat Mar 23 20:32:49 2013 +0000

----------------------------------------------------------------------
 release/build_candidate.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-admin/blob/f6a4b5c6/release/build_candidate.sh
----------------------------------------------------------------------
diff --git a/release/build_candidate.sh b/release/build_candidate.sh
index b84a0c5..82b9205 100755
--- a/release/build_candidate.sh
+++ b/release/build_candidate.sh
@@ -134,7 +134,9 @@ check-files: check-diff
 	cd \$(TMP_DIR)/\$(PACKAGE) && \
 	    grep `date +%Y` NOTICE
 	cd \$(TMP_DIR)/\$(PACKAGE) && \
-	    grep `date +%Y` share/doc/src/conf.py
+	    if test -f share/doc/src/conf.py; then \
+	        grep `date +%Y` share/doc/src/conf.py; \
+	    fi
 
 check-diff: check-file-size
 	cd \$(GIT_DIR) && git archive \