/[vps]/dietlibc/mkrelease
Gentoo

Contents of /dietlibc/mkrelease

Parent Directory Parent Directory | Revision Log Revision Log


Revision 316 - (show annotations) (download)
Tue Apr 11 10:21:29 2006 UTC (14 years, 4 months ago) by phreak
File size: 506 byte(s)
Importing the dietlibc-(patch)-repo
1 #!/bin/bash
2
3 if [ -z $2 ]; then
4 echo "Usage: mkrelease <ver> <rev>"
5 exit 1
6 fi
7
8 VER="${1}"
9 REV="${2}"
10
11 shift 2
12
13 tmpdir=$(mktemp -du)
14
15 svn export . ${tmpdir}
16
17 pushd ${tmpdir} >/dev/null
18 pushd patches >/dev/null
19
20 for dir in *; do
21 [ "${dir}" == "${VER}-${REV}" ] && mv ${dir}/* .
22 rm -rf "${dir}"
23 done
24
25 popd >/dev/null
26
27 rm -f mkrelease
28
29 popd >/dev/null
30
31 tar cjvf ./dietlibc-${VER}-patches-${REV}.tar.bz2 -C ${tmpdir} . | sort
32
33 rm -rf ${tmpdir}
34
35 echo "Tarball is at ./dietlibc-${VER}-patches-${REV}.tar.bz2"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20