/[vps]/vserver-sources/mkrelease
Gentoo

Contents of /vserver-sources/mkrelease

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (hide annotations) (download)
Fri Nov 25 15:48:15 2005 UTC (12 years, 11 months ago) by phreak
File size: 255 byte(s)
Updating mkrelease, $P (which is similar to Gentoo $P) is now defined at the top of the script.
1 hollow 88 #!/bin/bash
2    
3 phreak 110 P="vserver-sources-${1}.tar.bz2"
4    
5 hollow 88 if [ -z $2 ]; then
6     echo "Usage: mkrelease <ver> <kernelver>"
7     exit 1
8     fi
9    
10     tmpdir=$(mktemp -d)
11    
12     svn export ${1} ${tmpdir}/${2}
13    
14 phreak 110 tar cjvf ./${P} -C ${tmpdir} ${2}
15 hollow 88
16     rm -rf ${tmpdir}
17    
18 phreak 110 echo "Tarball is at ./${P}"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20