File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 29
29
print " Plugin name: " ;
30
30
$pluginName = <STDIN >;
31
31
chop $pluginName ;
32
- $pluginLCaseName = $pluginName ; # todo convert to lower case
32
+ $pluginLCaseName = lc ( $pluginName ) ; # todo convert to lower case
33
33
34
34
print " \n\n Enter a short description (typically one line)\n " ;
35
35
print " e.g. The clever plugin does clever stuff in QGIS\n " ;
108
108
# read through Makefile.am and write each line to Makefile.am.mod
109
109
while (<MAKEFILE>){
110
110
if (/ ^\s *SUBDIRS =*/ ){
111
- # add our plugin dir to the SUBDIRS line
112
- chop ;
111
+ # add our plugin dir to the next line after SUBDIRS line
113
112
print MAKEFILEMOD;
114
- print MAKEFILEMOD " $pluginDir \n " ;
113
+ print MAKEFILEMOD " \t\t $pluginDir \\ \n" ;
115
114
}else {
116
115
print MAKEFILEMOD;
117
116
}
You can’t perform that action at this time.
0 commit comments