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)"
|
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
|
# build with psy as default
|
||||||
export BUILD_PSY="true"
|
export BUILD_PSY="true"
|
||||||
GREP_FILTER="av1"
|
GREP_FILTER="av1"
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# global path variables
|
||||||
|
SCRIPT_PATH="$(readlink -f "${BASH_SOURCE[0]}")"
|
||||||
|
SCRIPT_DIR="$(dirname "$SCRIPT_PATH")"
|
||||||
|
BUILDER_DIR="$(dirname "$SCRIPT_DIR")"
|
||||||
|
cd "$BUILDER_DIR" || exit
|
||||||
|
|
||||||
git stash
|
git stash
|
||||||
git stash drop
|
git stash drop
|
||||||
git pull
|
git pull
|
||||||
|
|||||||
Reference in New Issue
Block a user