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

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
27,213
Points
823

Reputation:

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-releas
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...
 
Status
Not open for further replies.
Top