Changeset 15876 for gsdl/trunk/bin
- Timestamp:
- 2008-06-05T09:49:41+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/pluginfo.pl
r14958 r15876 161 161 my $plugin = shift (@ARGV); 162 162 if (defined $plugin) { 163 $plugin =~ s/\.pm$//; # allow xxxPlug .pm as the argument163 $plugin =~ s/\.pm$//; # allow xxxPlugin.pm as the argument 164 164 } 165 165 … … 174 174 my @plugin_list = (); 175 175 if (opendir (INDIR, $plugins_dir)) { 176 @plugin_list = grep (/Plug \.pm$/, readdir (INDIR));176 @plugin_list = grep (/Plugin\.pm$/, readdir (INDIR)); 177 177 closedir (INDIR); 178 178 } … … 185 185 186 186 if (opendir (INDIR, $ext_plugins_dir)) { 187 my @ext_plugin_list = grep (/Plug \.pm$/, readdir (INDIR));187 my @ext_plugin_list = grep (/Plugin\.pm$/, readdir (INDIR)); 188 188 closedir (INDIR); 189 189
Note:
See TracChangeset
for help on using the changeset viewer.