mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Change curl to wget
This commit is contained in:
parent
ed2b320271
commit
c5fc6fa9dc
@ -10,7 +10,7 @@ if [ -d "$self_dir/source/cache/$2" ]; then
|
||||
echo "Using cache for $2"
|
||||
cp -r "$self_dir/source/cache/$2" "$self_dir/source/"
|
||||
else
|
||||
curl -o $self_dir/source/master.zip "$GITHUB_ADDR""https://github.com/$1/archive/master.zip" && \
|
||||
wget -O $self_dir/source/master.zip "$GITHUB_ADDR""https://github.com/$1/archive/master.zip" && \
|
||||
cd $self_dir/source/ && \
|
||||
unzip master.zip && \
|
||||
mv $2-master/ cache/$2 && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user