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:
Risto
2022-05-26 15:08:29 +02:00
committed by GitHub
parent 8722d27c5e
commit cff819ea0e
+3 -1
View File
@@ -74,11 +74,13 @@ COMMON_OPTIONS+=${EXTRA_OPTIONS}
: "${FIRMARE_TARGET:="firmware-size"}"
# workaround for GH repo owner
git config --global --add safe.directory "$(pwd)"
# wipe build directory clean
rm -rf build && mkdir -p build && cd build
GIT_SHA_SHORT=$(git rev-parse --short HEAD)
#GIT_TAG=`git describe --tags`
target_names=$(echo "$FLAVOR" | tr '[:upper:]' '[:lower:]' | tr ';' '\n')