[interchange-cvs] interchange - racke modified lib/Vend/Config.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Thu Oct 14 19:01:16 EDT 2004


User:      racke
Date:      2004-10-14 23:01:16 GMT
Modified:  lib/Vend Config.pm
Log:
added catalog directory to global status file to allow service scripts to
pick that directory up without parsing the global configuration file
(proposed on interchange-core 9 months ago)

Revision  Changes    Path
2.146     +3 -3      interchange/lib/Vend/Config.pm


rev 2.146, prev_rev 2.145
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.145
retrieving revision 2.146
diff -u -r2.145 -r2.146
--- Config.pm	7 Oct 2004 00:10:01 -0000	2.145
+++ Config.pm	14 Oct 2004 23:01:16 -0000	2.146
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.145 2004/10/07 00:10:01 jon Exp $
+# $Id: Config.pm,v 2.146 2004/10/14 23:01:16 racke Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -48,7 +48,7 @@
 use Vend::File;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.145 $, 10);
+$VERSION = substr(q$Revision: 2.146 $, 10);
 
 my %CDname;
 my %CPname;
@@ -1183,7 +1183,7 @@
 	delete $c->{Source};
 
 	my $stime = scalar localtime();
-	Vend::Util::writefile(">$Global::RunDir/status.$g->{name}", "$stime\n");
+	Vend::Util::writefile(">$Global::RunDir/status.$g->{name}", "$stime\n$g->{dir}\n");
 	Vend::Util::writefile(">$c->{ConfDir}/status.$g->{name}", "$stime\n");
 
 	return $c;








More information about the interchange-cvs mailing list