/[vps]/vserver-sources/mkrelease
Gentoo

Contents of /vserver-sources/mkrelease

Parent Directory Parent Directory | Revision Log Revision Log


Revision 187 - (show annotations) (download)
Fri Jan 6 16:29:54 2006 UTC (8 years, 8 months ago) by phreak
File size: 445 byte(s)
Finally the new name "layout"
1 #!/bin/bash
2
3 # New package name as of 06 Jan 2006
4 # vserver-patches-$CKV_$PVR.tar.bz2
5 # where
6 # 1) CKV is the kernel version (i.e. 2.6.15)
7 # 2) PVR is the package version + revision (i.e. 2.0.1-r1)
8 P="vserver-patches-${2}_${1}.tar.bz2"
9
10 if [ -z $2 ]; then
11 echo "Usage: mkrelease <ver> <kernelver>"
12 exit 1
13 fi
14
15 tmpdir=$(mktemp -d)
16
17 svn export ${1} ${tmpdir}/${2}
18
19 tar cjvf ./${P} -C ${tmpdir} ${2}
20
21 rm -rf ${tmpdir}
22
23 echo "Tarball is at ./${P}"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20