1202b5
#!/bin/sh
1202b5
1202b5
VERSION=$1
1202b5
1202b5
tar -xzvf XML-SAX-$VERSION.tar.gz
1202b5
1202b5
# xmltest.xml could not be distributed due to copyright
1202b5
rm XML-SAX-$VERSION/testfiles/xmltest.xml
1202b5
rm XML-SAX-$VERSION/t/16large.t
1202b5
sed -i -e '/testfiles\/xmltest.xml/ d' XML-SAX-$VERSION/MANIFEST
1202b5
sed -i -e '/t\/16large.t/ d' XML-SAX-$VERSION/MANIFEST
1202b5
1202b5
tar -czvf XML-SAX-$VERSION-nopatents.tar.gz XML-SAX-$VERSION
1202b5