We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa73cf9 commit 31267e8Copy full SHA for 31267e8
src/ci/init_repo.sh
@@ -43,6 +43,11 @@ function fetch_github_commit_archive {
43
curl -f -sSL -o $cached $2"
44
mkdir $module
45
touch "$module/.git"
46
+ # On Windows, the default behavior is to emulate symlinks by copying
47
+ # files. However, that ends up being order-dependent while extracting,
48
+ # which can cause a failure if the symlink comes first. This env var
49
+ # causes tar to use real symlinks instead, which are allowed to dangle.
50
+ export MSYS=winsymlinks:nativestrict
51
tar -C $module --strip-components=1 -xf $cached
52
rm $cached
53
}
0 commit comments