mirror of
https://github.com/zhigang1992/cow.git
synced 2026-01-12 17:12:57 +08:00
Download cow from specific version directory.
This commit is contained in:
@@ -83,7 +83,7 @@ fi
|
||||
bin=cow-$os$arch-$version
|
||||
tmpdir=`mktemp -d /tmp/cow.XXXXXX`
|
||||
tmpbin=$tmpdir/cow
|
||||
binary_url="http://dl.chenyufei.info/cow/$bin.gz"
|
||||
binary_url="http://dl.chenyufei.info/cow/$version/$bin.gz"
|
||||
echo "Downloading cow binary $binary_url to $tmpbin.gz"
|
||||
curl -L "$binary_url" -o $tmpbin.gz || \
|
||||
exit_on_fail "Downloading cow binary failed"
|
||||
|
||||
Reference in New Issue
Block a user