1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-18 08:11:32 +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
# Build a tarball from the latest upstream version, with a nice
# version number.
#
# Requires git 1.6.6 or later, GNU date, and gzip.
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.
release=0.0
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.
echo "packaging ..."
tar -czf fped_$upstream_version.orig.tar.gz debian-orig-source
tar -czf fped_$upstream_version.orig.tar.gz ${TOPFOLDER}