From 35d7e4f0b30800691c59b25c5ea95e4d64e0623f Mon Sep 17 00:00:00 2001 From: here-mikelley <48072435+here-mikelley@users.noreply.github.com> Date: Fri, 18 Sep 2020 17:02:09 -0700 Subject: [vcpkg] Keep sym links in Linux zip cache files (#13609) * [vcpkg] Add '-y' to binary caching zip command on non-Windows platforms --- toolsrc/src/vcpkg/binarycaching.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolsrc/src') 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 } -- cgit v1.2.3