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

