• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

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

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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:

کد:
my build.json file:
{...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا