File: orig-tar.sh

package info (click to toggle)
plexus-cli 1.2-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 136 kB
  • ctags: 36
  • sloc: java: 385; xml: 57; sh: 8; makefile: 4
file content (18 lines) | stat: -rwxr-xr-x 456 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

# There is no svn tag for plexus-cli! :-(

# VERSION=$2
VERSION=1.2
REVISION=7025

TAR=../plexus-cli_$VERSION.orig.tar.gz
DIR=plexus-cli-$VERSION
TAG=plexus-cli-$VERSION

svn export -r$REVISION http://svn.codehaus.org/plexus/plexus-components/trunk/plexus-cli $DIR
# New versions should appear here:
#svn export http://svn.codehaus.org/plexus/plexus-components/tags/$TAG $DIR

GZIP=--best tar -c -z -f $TAR $DIR || exit 2
rm -rf $DIR ../$TAG