# HG changeset patch # User nanaya # Date 1724054632 -32400 # Node ID 0a896ffe3029947d0efb333306817b084c4739de # Parent 6faa6995937f51d67652f4ae4c28e7e7538086a7 Switch to tgz bsdunzip doesn't seem to unzip from stdin. diff -r 6faa6995937f -r 0a896ffe3029 update-vendor --- a/update-vendor Tue Sep 03 19:05:14 2024 +0900 +++ b/update-vendor Mon Aug 19 17:03:52 2024 +0900 @@ -3,7 +3,7 @@ set -u set -e -for _cmd in wget unzip; do +for _cmd in tar wget; do if command -v "$_cmd" > /dev/null 2>&1; then : else echo "${_cmd} is required" @@ -22,7 +22,7 @@ _get_pack_github() { ( - wget -nv -O - "https://github.com/${1}/${2}/archive/refs/heads/${3}.zip" | unzip -q - + wget -nv -O - "https://github.com/${1}/${2}/archive/refs/heads/${3}.tar.gz" | tar -zxf - mv "./${2}-${3}" "./${2}" ) }