... | ... |
@@ -21,7 +21,7 @@ _enumerateGrailsScripts() { |
21 | 21 |
do |
22 | 22 |
if [ -d $dir ] |
23 | 23 |
then |
24 |
- files+=($dir/*.groovy) |
|
24 |
+ files+=($dir/[^_]*.groovy) |
|
25 | 25 |
fi |
26 | 26 |
done |
27 | 27 |
|
... | ... |
@@ -37,7 +37,6 @@ _enumerateGrailsScripts() { |
37 | 37 |
# - PackagePlugin -> Package-Plugin |
38 | 38 |
# - Package-Plugin -> package-plugin |
39 | 39 |
basename $files \ |
40 |
- | grep -vE -e '^_' \ |
|
41 | 40 |
| sed -E -e 's/^_?([^_]+)_?.groovy/\1/'\ |
42 | 41 |
-e 's/([a-z])([A-Z])/\1-\2/g' \ |
43 | 42 |
| tr "[:upper:]" "[:lower:]" \ |