Commit beef89eec5421c33ee03033685cb46de76d92baf
Exists in
master
and in
27 other branches
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
script/noosfero-plugins
... | ... | @@ -177,7 +177,7 @@ _new(){ |
177 | 177 | mkdir "$target" |
178 | 178 | |
179 | 179 | plugin_name=$(echo "$plugin" | sed -e 's/^./\u&/; s/_\(.\)/\u\1/g') |
180 | - for source_file in $(find "$template" -type f); do | |
180 | + for source_file in $(find "$template" -type f -and '(' -not -name '*.po' -and -not -name '*.mo' ')'); do | |
181 | 181 | target_file=$(echo "$source_file" | sed -e "s/template/$plugin/g") |
182 | 182 | mkdir -p $(dirname "$target_file") |
183 | 183 | sed "s/TemplatePlugin/${plugin_name}Plugin/g" "$source_file" > "$target_file" | ... | ... |