[interchange-cvs] interchange - heins modified lib/Vend/Interpolate.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Jul 7 13:06:59 EDT 2004


User:      heins
Date:      2004-07-07 17:06:54 GMT
Modified:  lib/Vend Interpolate.pm
Log:
* Marty Tennison described a situation where [timed-build auto=1 ...]
  doesn't work. The problem was that an absolute directory was getting
  prepended with ./ -- this fixes that.

Revision  Changes    Path
2.213     +3 -2      interchange/lib/Vend/Interpolate.pm


rev 2.213, prev_rev 2.212
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.212
retrieving revision 2.213
diff -u -r2.212 -r2.213
--- Interpolate.pm	28 Jun 2004 21:37:50 -0000	2.212
+++ Interpolate.pm	7 Jul 2004 17:06:53 -0000	2.213
@@ -1,6 +1,6 @@
 # Vend::Interpolate - Interpret Interchange tags
 # 
-# $Id: Interpolate.pm,v 2.212 2004/06/28 21:37:50 mheins Exp $
+# $Id: Interpolate.pm,v 2.213 2004/07/07 17:06:53 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -28,7 +28,7 @@
 require Exporter;
 @ISA = qw(Exporter);
 
-$VERSION = substr(q$Revision: 2.212 $, 10);
+$VERSION = substr(q$Revision: 2.213 $, 10);
 
 @EXPORT = qw (
 
@@ -5355,6 +5355,7 @@
 
 	my $secs;
 	CHECKDIR: {
+		last CHECKDIR if Vend::File::file_name_is_absolute($file);
 		last CHECKDIR if $file and $file !~ m:/:;
 		my $dir;
 		if ($file) {








More information about the interchange-cvs mailing list