T

XF 2.3.4 sh: syntax error: unexpected '(' when: Using build.json exec and a bracket in the plugin name

  • Thread starter Thread starter tenants
  • Start date Start date
T

tenants

Guest

Low priority, this wont be noticed by frontend users, only people that create plugins may notice the when doing:

php cmd.php xf-addon:build-release
and using a build.json file with exec


If your plugin name has brackets in it you will get:
sh: syntax error: unexpected "("


This occurs in the following file:
ReleaseBuilderService PerformBuildTasks: $this->execCmds($buildJson['exec']);

Work around: rename your plugin and take out the brackets

Code:
Code:
my build.json file:
{...

Read more

Continue reading...
 
Similar threads Most view View more
Back
Top Bottom