chmod on go-transcode
parent
8bd903b1e4
commit
c10ad711f7
|
@ -98,6 +98,7 @@ class VideoSetup extends Command
|
||||||
|
|
||||||
$goTranscodePath = realpath(__DIR__."/../../exiftool-bin/go-transcode-{$arch}-{$libc}");
|
$goTranscodePath = realpath(__DIR__."/../../exiftool-bin/go-transcode-{$arch}-{$libc}");
|
||||||
$output->writeln("Trying go-transcode from {$goTranscodePath}");
|
$output->writeln("Trying go-transcode from {$goTranscodePath}");
|
||||||
|
chmod($goTranscodePath, 0755);
|
||||||
|
|
||||||
$goTranscode = shell_exec($goTranscodePath.' --help');
|
$goTranscode = shell_exec($goTranscodePath.' --help');
|
||||||
if (!$goTranscode || false === strpos($goTranscode, 'Available Commands')) {
|
if (!$goTranscode || false === strpos($goTranscode, 'Available Commands')) {
|
||||||
|
|
Loading…
Reference in New Issue