fix: Add git 2.35.2 and later workaround for CVE-2022-24765 change
Thx to @pfeerick https://github.com/pfeerick/edgetx/pull/6/files
This commit is contained in:
+3
-1
@@ -74,11 +74,13 @@ COMMON_OPTIONS+=${EXTRA_OPTIONS}
|
|||||||
|
|
||||||
: "${FIRMARE_TARGET:="firmware-size"}"
|
: "${FIRMARE_TARGET:="firmware-size"}"
|
||||||
|
|
||||||
|
# workaround for GH repo owner
|
||||||
|
git config --global --add safe.directory "$(pwd)"
|
||||||
|
|
||||||
# wipe build directory clean
|
# wipe build directory clean
|
||||||
rm -rf build && mkdir -p build && cd build
|
rm -rf build && mkdir -p build && cd build
|
||||||
|
|
||||||
GIT_SHA_SHORT=$(git rev-parse --short HEAD)
|
GIT_SHA_SHORT=$(git rev-parse --short HEAD)
|
||||||
#GIT_TAG=`git describe --tags`
|
|
||||||
|
|
||||||
target_names=$(echo "$FLAVOR" | tr '[:upper:]' '[:lower:]' | tr ';' '\n')
|
target_names=$(echo "$FLAVOR" | tr '[:upper:]' '[:lower:]' | tr ';' '\n')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user