mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
BASH_SOURCE
This commit is contained in:
@@ -11,6 +11,12 @@ usage() {
|
||||
echo -e "\tO n: build at optimization n (1, 2, 3)"
|
||||
}
|
||||
|
||||
# global path variables
|
||||
SCRIPT_PATH="$(readlink -f "${BASH_SOURCE[0]}")"
|
||||
SCRIPT_DIR="$(dirname "$SCRIPT_PATH")"
|
||||
BUILDER_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
cd "$BUILDER_DIR" || exit
|
||||
|
||||
# build with psy as default
|
||||
export BUILD_PSY="true"
|
||||
GREP_FILTER="av1"
|
||||
|
||||
Reference in New Issue
Block a user