[freeside-commits] freeside/bin pod2x,1.11,1.12
Ivan,,,
ivan at wavetail.420.am
Wed Oct 3 19:52:08 PDT 2007
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail:/tmp/cvs-serv15074/bin
Modified Files:
pod2x
Log Message:
wikify individual files
Index: pod2x
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/pod2x,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- pod2x 4 Oct 2007 02:22:42 -0000 1.11
+++ pod2x 4 Oct 2007 02:52:05 -0000 1.12
@@ -68,15 +68,22 @@
$mvs->do_login;
-foreach my $file (
- glob("$site_perl/*.pm"),
- glob("$site_perl/*/*.pm"),
- glob("$site_perl/*/*/*.pm"),
- glob("$site_perl/*/*/*/*.pm"),
- glob("$site_perl/bin/*.pod"),
- glob("./fs_selfservice/FS-SelfService/*.pm"),
- glob("./fs_selfservice/FS-SelfService/*/*.pm"),
-) {
+my @files;
+if ( @ARGV ) {
+ @files = @ARGV;
+} else {
+ @files =
+ glob("$site_perl/*.pm"),
+ glob("$site_perl/*/*.pm"),
+ glob("$site_perl/*/*/*.pm"),
+ glob("$site_perl/*/*/*/*.pm"),
+ glob("$site_perl/bin/*.pod"),
+ glob("./fs_selfservice/FS-SelfService/*.pm"),
+ glob("./fs_selfservice/FS-SelfService/*/*.pm"),
+ ;
+}
+
+foreach my $file (@files) {
next if $file =~ /(^|\/)blib\//;
next if $file =~ /(^|\/)CVS\//;
#$file =~ /\/([\w\-]+)\.pm$/ or die "oops file $file";
More information about the freeside-commits
mailing list