Keşfet

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

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
5,067
Tepkime puanı
287
Konum
Türkiye
Web sitesi
fivetu.xyz
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:

Kod:
Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol to view codes content!

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Benzer konular

Geri
Üst Alt