From ffd433597bf979c9420bbe28bf99b9b293f9b444 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 18 Jul 2023 23:48:33 +0900 Subject: [PATCH] Pass options to unzip --- main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 23d1e4017..78c6f1b80 100755 --- a/main.sh +++ b/main.sh @@ -115,7 +115,7 @@ download_and_extract() { else case "${url}" in *.zip) - unzip tmp + unzip -q tmp "${bin_in_archive}" mv "${bin_in_archive}" "${bin_dir}/" ;; *) mv tmp "${installed_bin}" ;; @@ -470,7 +470,7 @@ for tool in "${tools[@]}"; do ( cd "${tmp_dir}" download_and_checksum "${url}" "${checksum}" - unzip tmp + unzip -q tmp mv "bin/protoc${exe}" "${bin_dir}/" mkdir -p "${include_dir}/" cp -r include/. "${include_dir}/"