rdobuilder bda591
#!/bin/bash
rdobuilder bda591
rdobuilder bda591
if [[ $# -ne 1 ]]; then
rdobuilder bda591
    echo "usage: $(basename $0) <VERSION>"
rdobuilder bda591
    exit 1
rdobuilder bda591
fi
rdobuilder bda591
rdobuilder bda591
VERSION=$1
rdobuilder bda591
rdobuilder bda591
tar -xzvf waitress-$VERSION.tar.gz
rdobuilder bda591
rm -rf waitress-$VERSION/docs
rdobuilder bda591
mv waitress-$VERSION waitress-$VERSION-nodocs
rdobuilder bda591
tar -czvf waitress-$VERSION-nodocs.tar.gz waitress-$VERSION-nodocs