mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-18 09:35:20 +02:00
use usual name for orig tarball top-level directory
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
17dc8ff45c
commit
069e82ffc4
14
debian/get-orig-source.sh
vendored
14
debian/get-orig-source.sh
vendored
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user