source: utils/build-tarball-from-svn-tag @ 1000

Last change on this file since 1000 was 1000, checked in by Dominic Hargreaves, 15 years ago

Add tarball script

  • Property svn:executable set to *
File size: 324 bytes
Line 
1#!/bin/sh
2
3set -e
4
5if [ -z $1 ]; then
6    echo "Usage: $0 [tag]"
7    exit 1
8fi
9
10REPO=https://urchin.earth.li/svn/openguides
11WORKDIR=`mktemp -d`
12DSTDIR=/home/dom/openguides-official
13cd $WORKDIR
14svn co https://urchin.earth.li/svn/openguides/tags/$1
15cd $1
16perl Build.PL
17./Build dist
18mv -i *.tar.gz $DSTDIR
19cd /
20rm -rf $WORKDIR
Note: See TracBrowser for help on using the repository browser.