summaryrefslogtreecommitdiff
path: root/add_extbase_property.sh
diff options
context:
space:
mode:
Diffstat (limited to 'add_extbase_property.sh')
-rwxr-xr-xadd_extbase_property.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_extbase_property.sh b/add_extbase_property.sh
index d6582fd..82c384d 100755
--- a/add_extbase_property.sh
+++ b/add_extbase_property.sh
@@ -58,7 +58,7 @@ tca_file=Configuration/TCA/${tablename}.php
[[ -e "$tca_file" ]] || tca_file=Configuration/TCA/${model}.php
-field=`echo $property | sed -r 's/([a-z]+)([A-Z][a-z]+)/\1_\l\2/g'`
+field=`echo $property | sed -r ':a;s/([a-z]+)([A-Z][a-z]+)/\1_\l\2/g;ta'`
uproperty=`echo $property | sed -r 's/^./\u&/'`