1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-18 09:10:37 +02:00

use usual name for orig tarball top-level directory

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-10-13 00:33:31 +08:00
parent 17dc8ff45c
commit 069e82ffc4

View File

@ -1,19 +1,19 @@
#!/bin/sh #!/bin/sh
# Build a tarball from the latest upstream version, with a nice # Build a tarball from the latest upstream version, with a nice
# version number. # version number.
#
# Requires git 1.6.6 or later, GNU date, and gzip.
set -e set -e
trap 'rm -fr debian-orig-source || exit 1' EXIT INT TERM
svn export -r${REV} http://svn.openmoko.org/trunk/eda/fped debian-orig-source
# Determine version number. # Determine version number.
release=0.0 release=0.0
upstream_version="${release}+r${REV}" upstream_version="${release}+r${REV}"
TOPFOLDER=fped-$upstream_version.orig
trap 'rm -fr ${TOPFOLDER} || exit 1' EXIT INT TERM
svn export -r${REV} http://svn.openmoko.org/trunk/eda/fped ${TOPFOLDER}
# Generate tarball. # Generate tarball.
echo "packaging ..." echo "packaging ..."
tar -czf fped_$upstream_version.orig.tar.gz debian-orig-source tar -czf fped_$upstream_version.orig.tar.gz ${TOPFOLDER}