diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-02-05 13:03:57 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-02-05 13:03:57 +0100 |
commit | f99d2befa85e6751ab4ec77e173fd7965b8b5560 (patch) | |
tree | 80514d0dd7e0c56f1f014f86f0b451e3dd3d2561 /add_extbase_property.sh | |
parent | c53e3264f560d9e71145ffe94022175b8018277a (diff) | |
download | extbase-generator-cli-master.tar.gz extbase-generator-cli-master.tar.bz2 extbase-generator-cli-master.zip |
Diffstat (limited to 'add_extbase_property.sh')
-rwxr-xr-x | add_extbase_property.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_extbase_property.sh b/add_extbase_property.sh index 8baca20..c4dd43b 100755 --- a/add_extbase_property.sh +++ b/add_extbase_property.sh @@ -233,7 +233,7 @@ sed -i "s/.*<\/body>/\t\t\t<trans-unit id=\"${field}.description\">\n\t\t\t\t<so # Try to place the new field before tstamp (or if that fails directly after the CREATE TABLE statement) sed -i -f - ext_tables.sql << EOF -/^CREATE TABLE tx_extensionbuildertext_domain_model_foo (/ { +/^CREATE TABLE ${tablename} (/ { # Fill up the current buffer with the following lines until we find the trailing ');' :loop /);/! { |