Date:2010-10-12 18:33:31 (7 years 4 months ago)
Author:Xiangfu Liu
Commit:9d2da9fd0efc89da4af596302e1d8a0d469ef40c
Message:use usual name for orig tarball top-level directory

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: debian/get-orig-source.sh (1 diff)

Change Details

debian/get-orig-source.sh
11#!/bin/sh
22# Build a tarball from the latest upstream version, with a nice
33# version number.
4#
5# Requires git 1.6.6 or later, GNU date, and gzip.
64
75set -e
86
9trap 'rm -fr debian-orig-source || exit 1' EXIT INT TERM
10
11svn export -r${REV} http://svn.openmoko.org/trunk/eda/fped debian-orig-source
12
137# Determine version number.
148release=0.0
159upstream_version="${release}+r${REV}"
1610
11TOPFOLDER=fped-$upstream_version.orig
12
13trap 'rm -fr ${TOPFOLDER} || exit 1' EXIT INT TERM
14
15svn export -r${REV} http://svn.openmoko.org/trunk/eda/fped ${TOPFOLDER}
16
1717# Generate tarball.
1818echo "packaging ..."
19tar -czf fped_$upstream_version.orig.tar.gz debian-orig-source
19tar -czf fped_$upstream_version.orig.tar.gz ${TOPFOLDER}

Archive Download the corresponding diff file

Branches:
master



interactive