/[vps]/vserver-sources/mkrelease
Gentoo

Contents of /vserver-sources/mkrelease

Parent Directory Parent Directory | Revision Log Revision Log


Revision 186 - (hide annotations) (download)
Fri Jan 6 15:11:23 2006 UTC (12 years, 4 months ago) by phreak
File size: 255 byte(s)
Modifying mkrelease, so it creates the tarballs with our "new" patch-tarball name (vserver-patches)
1 hollow 88 #!/bin/bash
2    
3 phreak 186 P="vserver-patches-${1}.tar.bz2"
4 phreak 110
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