Skip to content
Permalink
Browse files

Lower case plugin filenames as specified in todo item

Fix broken logic for appending plugin dir to Makefile.am


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5155 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Apr 4, 2006
1 parent 868c0d5 commit 159f959667e32d199eb4952bea4e5844a4f6f539
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/plugins/plugin_builder.pl
@@ -29,7 +29,7 @@
print "Plugin name: " ;
$pluginName = <STDIN>;
chop $pluginName;
$pluginLCaseName = $pluginName; #todo convert to lower case
$pluginLCaseName = lc($pluginName); #todo convert to lower case

print "\n\nEnter a short description (typically one line)\n";
print "e.g. The clever plugin does clever stuff in QGIS\n";
@@ -108,10 +108,9 @@
# read through Makefile.am and write each line to Makefile.am.mod
while(<MAKEFILE>){
if(/^\s*SUBDIRS =*/){
# add our plugin dir to the SUBDIRS line
chop;
# add our plugin dir to the next line after SUBDIRS line
print MAKEFILEMOD;
print MAKEFILEMOD " $pluginDir\n";
print MAKEFILEMOD "\t\t$pluginDir \\\n";
}else{
print MAKEFILEMOD;
}

0 comments on commit 159f959

Please sign in to comment.
You can’t perform that action at this time.