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.
glassfish-jsp/SOURCES/generate_tarball.sh

12 lines
343 B

#!/bin/bash
baseurl="https://svn.java.net/svn/jsp~svn/tags/"
pkgname="javax.servlet.jsp"
version=`grep Version: *spec | sed -e 's/Version:\s*\(.*\)/\1/'`
version="$version`sed -n 's/%global\s\+reltag\s\+/-/p' *.spec`"
echo $version
svn export "${baseurl}/${pkgname}-${version}"
tar cvJf ${pkgname}-${version}.tar.xz ${pkgname}-${version}/