You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
368 B
15 lines
368 B
#!/bin/bash
|
|
|
|
if [[ $# -ne 1 ]]; then
|
|
echo "usage: $(basename $0) <VERSION>"
|
|
exit 1
|
|
fi
|
|
|
|
VERSION=$1
|
|
|
|
wget https://github.com/Pylons/waitress/archive/v$VERSION/waitress-$VERSION.tar.gz
|
|
tar -xzvf waitress-$VERSION.tar.gz
|
|
rm -rf waitress-$VERSION/docs
|
|
mv waitress-$VERSION waitress-$VERSION-nodocs
|
|
tar -czvf waitress-$VERSION-nodocs.tar.gz waitress-$VERSION-nodocs
|