aboutsummaryrefslogtreecommitdiff
path: root/common/travis
diff options
context:
space:
mode:
authorclassabbyamp <dev@placeviolette.net>2022-04-16 18:39:39 +0000
committerMichael Aldridge <aldridge.mac@gmail.com>2022-04-16 18:51:12 +0000
commite4cc32f921d2decaab91ead7c663d4b9552080b2 (patch)
tree334e999b7d1dd3e6c3c561bdbc54ffd330d67651 /common/travis
parent12d37f24c98b269ed37915f9c59b0925411e9db5 (diff)
downloadvoid-packages-e4cc32f921d2decaab91ead7c663d4b9552080b2.tar
void-packages-e4cc32f921d2decaab91ead7c663d4b9552080b2.tar.gz
void-packages-e4cc32f921d2decaab91ead7c663d4b9552080b2.tar.bz2
void-packages-e4cc32f921d2decaab91ead7c663d4b9552080b2.tar.lz
void-packages-e4cc32f921d2decaab91ead7c663d4b9552080b2.tar.xz
void-packages-e4cc32f921d2decaab91ead7c663d4b9552080b2.tar.zst
void-packages-e4cc32f921d2decaab91ead7c663d4b9552080b2.zip
common/travis/fetch_upstream.sh: fix CI for new git version
Diffstat (limited to 'common/travis')
-rwxr-xr-xcommon/travis/fetch_upstream.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/travis/fetch_upstream.sh b/common/travis/fetch_upstream.sh
index 45315563e0b..5c0256fdbe1 100755
--- a/common/travis/fetch_upstream.sh
+++ b/common/travis/fetch_upstream.sh
@@ -8,5 +8,8 @@ elif command -v git >/dev/null 2>&1; then
GIT_CMD=$(command -v git)
fi
+# required by git 2.35.2+
+$GIT_CMD config --global --add safe.directory /__w/void-packages/void-packages
+
/bin/echo -e '\x1b[32mFetching upstream...\x1b[0m'
$GIT_CMD fetch --depth 200 https://github.com/void-linux/void-packages.git master