bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnats/376: mkdb does not honour configure option


From: Lars . Henriksen
Subject: gnats/376: mkdb does not honour configure option
Date: Fri, 12 Apr 2002 07:48:18 -0400

>Number:         376
>Category:       gnats
>Synopsis:       mkdb does not honour configure option
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 12 07:48:18 -0400 2002
>Originator:     Lars Henriksen
>Release:        4.0-beta1
>Organization:

>Environment:

>Description:
The mkdb command does not honour the configure option 
--with-gnats-dblist-file, which specifies the file containing the list of 
databases (instead it looks in SYSCONFDIR/gnats/databases). See Fix.
>How-To-Repeat:

>Fix:
Index: Makefile.in
===================================================================
RCS file: /cvsroot/gnats/gnats/gnats/Makefile.in,v
retrieving revision 1.57
diff -u -r1.57 Makefile.in
--- Makefile.in 3 Mar 2002 20:15:17 -0000       1.57
+++ Makefile.in 12 Apr 2002 11:46:26 -0000
@@ -252,6 +252,7 @@
        @echo Creating mkdb...
        @sed  -e 's,xGNATS_USERx,$(GNATS_USER),g' \
              -e 's,xLIBEXECDIRx,$(libexecdir),g' \
+             -e 's,xGLOBAL_DB_LIST_FILEx,$(GLOBAL_DB_LIST_FILE),g' \
              -e 's,xSYSCONFDIRx,$(sysconfdir),g' $(srcdir)/mkdb.sh > $@-t
        @mv $@-t $@
        @chmod a+x $@

Index: mkdb.sh
===================================================================
RCS file: /cvsroot/gnats/gnats/gnats/mkdb.sh,v
retrieving revision 1.7
diff -u -r1.7 mkdb.sh
--- mkdb.sh     2 Dec 2001 14:39:09 -0000       1.7
+++ mkdb.sh     12 Apr 2002 11:55:25 -0000
@@ -24,7 +24,7 @@
 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
 GNATS_USER=xGNATS_USERx
-DATABASES=xSYSCONFDIRx/gnats/databases
+DATABASES=xGLOBAL_DB_LIST_FILEx
 DATADIR=xSYSCONFDIRx/gnats/defaults
 LIBEXECDIR=xLIBEXECDIRx
>Unformatted:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]