rubys 02/01/08 10:54:58
Modified: proposal/gump/stylesheet pubdocs.xsl
Log:
Add a little more output - useful for forensics when things go wrong.
Revision Changes Path
1.2 +4 -1 jakarta-alexandria/proposal/gump/stylesheet/pubdocs.xsl
Index: pubdocs.xsl
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/pubdocs.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pubdocs.xsl 8 Jan 2002 18:10:17 -0000 1.1
+++ pubdocs.xsl 8 Jan 2002 18:54:58 -0000 1.2
@@ -8,12 +8,15 @@
my %map = (<xsl:apply-templates select="*"/>);
- foreach $source (keys %map) {
+ foreach $source (sort keys %map) {
if (-d $source) {
$dest = $map{$source};
rmtree $dest, 0, 0;
mkpath $dest, 0, 0775;
system "cp -r $source $dest";
+ print "+ $source\n";
+ } else {
+ print "! $source\n";
}
}
</script>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>