Browse Source

Added curDir so that ffmpeg build properly removes source code dir

master
use 1 year ago
parent
commit
36812c8605
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      build.sh
  2. +1
    -0
      build_part.sh

+ 1
- 0
build.sh View File

@ -3,6 +3,7 @@
#build with hwaccell #build with hwaccell
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/:/usr/local:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/:/usr/local:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig
curDir="$PWD"
pkg=jellyfin-ffmpeg pkg=jellyfin-ffmpeg
if ! [[ -d "$pkg" ]] if ! [[ -d "$pkg" ]]
then then

+ 1
- 0
build_part.sh View File

@ -4,6 +4,7 @@
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/:/usr/local:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/:/usr/local:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig
curDir="$PWD"
pkg=jellyfin-ffmpeg pkg=jellyfin-ffmpeg
if ! [[ -d "$pkg" ]] if ! [[ -d "$pkg" ]]
then then

Loading…
Cancel
Save