glassfish-jsp-api/generate_tarball.sh
2023-08-31 01:59:18 +00:00

12 lines
347 B
Bash
Executable File

#!/bin/bash
baseurl="https://svn.java.net/svn/jsp~svn/tags/"
pkgname="javax.servlet.jsp-api"
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}/