BIND 10 trac324new2, updated. 9aa4dd78f5cc00acb5ecc4fdc5ba1beb423aa40d [324] make sure dbutil is run only when the DB file exists.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Mar 30 07:46:36 UTC 2012
The branch, trac324new2 has been updated
via 9aa4dd78f5cc00acb5ecc4fdc5ba1beb423aa40d (commit)
from 61cdd0f353e20153706af04ac884a4375386648c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9aa4dd78f5cc00acb5ecc4fdc5ba1beb423aa40d
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri Mar 30 00:45:47 2012 -0700
[324] make sure dbutil is run only when the DB file exists.
otherwise make install incorrectly fails for a clean install.
-----------------------------------------------------------------------
Summary of changes:
compatcheck/Makefile.am | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/compatcheck/Makefile.am b/compatcheck/Makefile.am
index 38a1555..15ef017 100644
--- a/compatcheck/Makefile.am
+++ b/compatcheck/Makefile.am
@@ -2,8 +2,11 @@
# This is to be considered a short term hack and is expected to be removed
# in a near future version.
install-data-local:
- $(SHELL) $(top_builddir)/src/bin/dbutil/run_dbutil.sh --check \
- $(localstatedir)/$(PACKAGE)/zone.sqlite3 || \
- (echo "\nSQLite3 DB file schema version is old. Please run: " \
- "$(abs_top_builddir)/src/bin/dbutil/run_dbutil.sh --upgrade " \
- "$(localstatedir)/$(PACKAGE)/zone.sqlite3"; exit 1)
+ if test -e $(localstatedir)/$(PACKAGE)/zone.sqlite3; then \
+ $(SHELL) $(top_builddir)/src/bin/dbutil/run_dbutil.sh --check \
+ $(localstatedir)/$(PACKAGE)/zone.sqlite3 || \
+ (echo "\nSQLite3 DB file schema version is old. " \
+ "Please run: " \
+ "$(abs_top_builddir)/src/bin/dbutil/run_dbutil.sh --upgrade " \
+ "$(localstatedir)/$(PACKAGE)/zone.sqlite3"; exit 1) \
+ fi
More information about the bind10-changes
mailing list