Skip to content

Commit e16e293

Browse files
hwangsihuBtbN
authored andcommitted
Include license file in output dir builds as well
1 parent bec69a2 commit e16e293

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ docker run --rm -i $TTY_ARG "${UIDARGS[@]}" -v "$PWD/ffbuild":/ffbuild -v "$BUIL
5151
if [[ -n "$FFBUILD_OUTPUT_DIR" ]]; then
5252
mkdir -p "$FFBUILD_OUTPUT_DIR"
5353
package_variant ffbuild/prefix "$FFBUILD_OUTPUT_DIR"
54+
[[ -n "$LICENSE_FILE" ]] && cp "ffbuild/ffmpeg/$LICENSE_FILE" "$FFBUILD_OUTPUT_DIR/LICENSE.txt"
5455
rm -rf ffbuild
5556
exit 0
5657
fi

0 commit comments

Comments
 (0)