stas 2003/01/27 15:00:48
Modified: bin site_build
Log:
support the verbose mode
Revision Changes Path
1.9 +5 -3 modperl-docs/bin/site_build
Index: site_build
===================================================================
RCS file: /home/cvs/modperl-docs/bin/site_build,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- site_build 21 Nov 2002 19:50:33 -0000 1.8
+++ site_build 27 Jan 2003 23:00:48 -0000 1.9
@@ -3,9 +3,10 @@
#
# this script does different things depending on how it was named (or
# a symlink) if the name includes:
-# force - the whole site is rebuilt
-# pdf - builds pdfs
-# index - builds the index
+# force - the whole site is rebuilt
+# pdf - builds pdfs
+# index - builds the index
+# verbose - turn the verbose mode on
#
# the easiest way is to use symlinks to the same script
#
@@ -45,6 +46,7 @@
my $flags = '';
$flags .= 'f' if $name =~ /force/;
$flags .= 'd' if $name =~ /pdf/;
+ $flags .= 'v' if $name =~ /verbose/;
$flags = $flags ? "-$flags" : "";
system("cvs up -dP >/dev/null 2>&1");
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]