We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4718d34 commit a5f70d2Copy full SHA for a5f70d2
src/plugins/plugin_builder.pl
@@ -29,7 +29,7 @@
29
print "Plugin name: " ;
30
$pluginName = <STDIN>;
31
chop $pluginName;
32
-$pluginLCaseName = $pluginName; #todo convert to lower case
+$pluginLCaseName = lc($pluginName); #todo convert to lower case
33
34
print "\n\nEnter a short description (typically one line)\n";
35
print "e.g. The clever plugin does clever stuff in QGIS\n";
@@ -108,10 +108,9 @@
108
# read through Makefile.am and write each line to Makefile.am.mod
109
while(<MAKEFILE>){
110
if(/^\s*SUBDIRS =*/){
111
- # add our plugin dir to the SUBDIRS line
112
- chop;
+ # add our plugin dir to the next line after SUBDIRS line
113
print MAKEFILEMOD;
114
- print MAKEFILEMOD " $pluginDir\n";
+ print MAKEFILEMOD "\t\t$pluginDir \\\n";
115
}else{
116
117
}
0 commit comments