VirtualBox

source: kBuild/trunk/dist/debian/orig-tar.sh@ 2754

Last change on this file since 2754 was 2250, checked in by bird, 16 years ago

Imported debian package from http://bollin.googlecode.com/svn/kbuild/trunk/debian for testing and assisting the package maintainers.

  • Property svn:executable set to *
File size: 381 bytes
Line 
1#!/bin/sh -e
2
3SVNROOT=$1
4VERSION=$2
5REVISION=$3
6
7DIR=kbuild-$REVISION
8TAR=../kbuild_$VERSION.orig.tar.gz
9
10svn co -r $REVISION $SVNROOT $DIR
11tar -c -z --exclude '*/kBuild/bin*' --exclude '*/out/*' --exclude '*/.svn*' -f $TAR $DIR
12rm -rf $DIR
13
14# move to directory 'tarballs'
15if [ -r .svn/deb-layout ]; then
16 . .svn/deb-layout
17 mv $TAR $origDir
18 echo "moved $TAR to $origDir"
19fi
20
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette