aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhere-mikelley <48072435+here-mikelley@users.noreply.github.com>2020-09-18 17:02:09 -0700
committerGitHub <noreply@github.com>2020-09-18 17:02:09 -0700
commit35d7e4f0b30800691c59b25c5ea95e4d64e0623f (patch)
treef481ae0062ebac314b5ed84898baa5168cb86472
parent4902a7be1db3cf98ada0c09e54a430d06a900a18 (diff)
downloadvcpkg-35d7e4f0b30800691c59b25c5ea95e4d64e0623f.tar.gz
vcpkg-35d7e4f0b30800691c59b25c5ea95e4d64e0623f.zip
[vcpkg] Keep sym links in Linux zip cache files (#13609)
* [vcpkg] Add '-y' to binary caching zip command on non-Windows platforms
-rw-r--r--toolsrc/src/vcpkg/binarycaching.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/binarycaching.cpp b/toolsrc/src/vcpkg/binarycaching.cpp
index d8ce321c1..130eab3ba 100644
--- a/toolsrc/src/vcpkg/binarycaching.cpp
+++ b/toolsrc/src/vcpkg/binarycaching.cpp
@@ -60,7 +60,7 @@ namespace
System::get_clean_environment());
#else
System::cmd_execute_clean(
- Strings::format(R"(cd '%s' && zip --quiet -r '%s' *)", fs::u8string(source), fs::u8string(destination)));
+ Strings::format(R"(cd '%s' && zip --quiet -y -r '%s' *)", fs::u8string(source), fs::u8string(destination)));
#endif
}