Skip to content

Commit

Permalink
Fix Windows tarball generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaine committed Apr 25, 2020
1 parent a288f10 commit e6556d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build-ffmpeg.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ if not exist %outputfile% (
)
unzip %ffmpeg_basename%-dev.zip
mkdir %destdir%\include
xcopy %ffmpeg_basename%-dev\include %destdir%\ /E
xcopy %ffmpeg_basename%-dev\include %destdir%\include /E
mkdir %destdir%\lib
xcopy %ffmpeg_basename%-dev\lib %destdir%\ /E
xcopy %ffmpeg_basename%-dev\lib %destdir%\lib /E

if not exist %ffmpeg_basename%-shared.zip (
curl -L -o %ffmpeg_basename%-shared.zip https://ffmpeg.zeranoe.com/builds/win%PYTHON_ARCH%/shared/%ffmpeg_basename%-shared.zip
Expand All @@ -33,5 +33,5 @@ if not exist %outputfile% (
mkdir %destdir%\bin
xcopy %ffmpeg_basename%-shared\bin %destdir%\bin\ /E

tar cjvf %outputfile% -C %destdir% include lib
tar cjvf %outputfile% -C %destdir% bin include lib
)

0 comments on commit e6556d2

Please sign in to comment.