|
75 | 75 | #
|
76 | 76 | # create the new plugin directory
|
77 | 77 | system("cp -r plugin_template $pluginDir");
|
| 78 | + # remove the README file |
| 79 | + system("rm -rf $pluginDir/README"); |
78 | 80 | # remove the subversion directory
|
79 | 81 | system("rm -rf $pluginDir/.svn");
|
80 | 82 | # copy files to appropriate names
|
|
128 | 130 | # Add an entry to qgis/configure.in
|
129 | 131 | # Do we really want to do this or add a message telling the user how to do
|
130 | 132 | # it?
|
131 |
| - open CONFIGUREIN, "<../configure.in" || die 'Unable to open ../configure.in'; |
132 |
| - open CONFIGUREINMOD, ">../configure.in.mod" || die 'Unable to create ../configure.in.mod'; |
| 133 | + open CONFIGUREIN, "<../../configure.in" || die 'Unable to open ../../configure.in'; |
| 134 | + open CONFIGUREINMOD, ">../../configure.in.mod" || die 'Unable to create ../../configure.in.mod'; |
133 | 135 | # read through configure.in until we find the AC_CONFIG_FILES section
|
134 | 136 | while(<CONFIGUREIN>){
|
135 | 137 | if(/^\s*AC_CONFIG_FILES*/){
|
|
152 | 154 | close CONFIGUREINMOD;
|
153 | 155 |
|
154 | 156 | # save configure.in in case we die before done moving things around
|
155 |
| - system("mv ../configure.in ../configure.in.save"); |
| 157 | + system("mv ../../configure.in ../../configure.in.save"); |
156 | 158 | # move the new configure.in to where it belongs
|
157 |
| - system("mv ../configure.in.mod ../configure.in"); |
| 159 | + system("mv ../../configure.in.mod ../../configure.in"); |
158 | 160 | # delete the original configure.in
|
159 |
| - unlink("../configure.in.save"); |
| 161 | + unlink("../../configure.in.save"); |
160 | 162 |
|
161 | 163 | # print out some end of processing info
|
162 | 164 | print << "EOP";
|
|
0 commit comments