Fix package building, work around git issue caused by CVE-2022-24765.
[arvados.git] / build / run-build-packages.sh
index 23cf81bd70246a473d12751ba99ee028ec5ec6a3..a6d0d1c32b93ae3baf6642f506899c5b1a26da01 100755 (executable)
@@ -204,6 +204,9 @@ if [[ ! -d "$WORKSPACE/packages/$TARGET" ]]; then
   chown --reference="$WORKSPACE" "$WORKSPACE/packages/$TARGET"
 fi
 
+# Required due to CVE-2022-24765
+git config --global --add safe.directory /arvados
+
 # Perl packages
 debug_echo -e "\nPerl packages\n"