[flutter_tool] Use unzip -t instead of zip -T to verify zip files (#52331)

This commit is contained in:
Zachary Anderson
2020-03-10 12:22:53 -07:00
committed by GitHub
parent fdb7bd3c0f
commit 733fc20073

View File

@@ -223,7 +223,7 @@ class _PosixUtils extends OperatingSystemUtils {
@override
bool verifyZip(File zipFile) =>
_processUtils.exitsHappySync(<String>['zip', '-T', zipFile.path]);
_processUtils.exitsHappySync(<String>['unzip', '-t', '-qq', zipFile.path]);
// tar -xzf tarball -C dest
@override