Skip to content

Commit

Permalink
Add option to output to directory instead of archive
Browse files Browse the repository at this point in the history
Closes BtbN#438
  • Loading branch information
BtbN committed Dec 27, 2024
1 parent 93aace0 commit 7abce16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ EOF

docker run --rm -i $TTY_ARG "${UIDARGS[@]}" -v "$PWD/ffbuild":/ffbuild -v "$BUILD_SCRIPT":/build.sh "$IMAGE" bash /build.sh

if [[ -n "$FFBUILD_OUTPUT_DIR" ]]; then
mkdir -p "$FFBUILD_OUTPUT_DIR"
package_variant ffbuild/prefix "$FFBUILD_OUTPUT_DIR"
rm -rf ffbuild
exit 0
fi

mkdir -p artifacts
ARTIFACTS_PATH="$PWD/artifacts"
BUILD_NAME="ffmpeg-$(./ffbuild/ffmpeg/ffbuild/version.sh ffbuild/ffmpeg)-${TARGET}-${VARIANT}${ADDINS_STR:+-}${ADDINS_STR}"
Expand Down

0 comments on commit 7abce16

Please sign in to comment.