summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-02-05 13:03:57 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-02-05 13:03:57 +0100
commitf99d2befa85e6751ab4ec77e173fd7965b8b5560 (patch)
tree80514d0dd7e0c56f1f014f86f0b451e3dd3d2561
parentc53e3264f560d9e71145ffe94022175b8018277a (diff)
downloadextbase-generator-cli-master.tar.gz
extbase-generator-cli-master.tar.bz2
extbase-generator-cli-master.zip
Fix typosHEADmaster
-rwxr-xr-xadd_extbase_model.sh2
-rwxr-xr-xadd_extbase_property.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/add_extbase_model.sh b/add_extbase_model.sh
index 0a849f5..5f30cc4 100755
--- a/add_extbase_model.sh
+++ b/add_extbase_model.sh
@@ -137,7 +137,7 @@ return array(
'endtime' => 'endtime',
),
'searchFields' => '',
- 'iconfile' => \\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::extRelPath('extension_builder_text') . 'Resources/Public/Icons/${tablename}.gif'
+ 'iconfile' => \\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::extRelPath('${extension}') . 'Resources/Public/Icons/${tablename}.gif'
),
'interface' => array(
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden',
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
/);/! {