Skip to content

Commit

Permalink
fix(InstallDeps): Use ffmpegDir to install ffmpeg
Browse files Browse the repository at this point in the history
see 4082b1c#r139422392

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Mar 6, 2024
1 parent 0d39769 commit 2907a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Migration/InstallDeps.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ protected function runTfjsGpuInstall(string $nodeBinary) : void {

protected function runFfmpegInstall(string $nodeBinary): void {
$oriCwd = getcwd();
chdir($this->tfjsGPUPath);
chdir($this->ffmpegDir);
$cmd = escapeshellcmd($nodeBinary) . ' ' . escapeshellarg($this->ffmpegInstallScript);
try {
exec($cmd . ' 2>&1', $output, $returnCode); // Appending 2>&1 to avoid leaking sterr
Expand Down

0 comments on commit 2907a2b

Please sign in to comment.