Root/debian/get-orig-source.sh

Source at commit a3b3ed4925927211fbb2a114cf183678bfc30346 created 9 years 2 months ago.
By Xiangfu Liu, use the new version rules.
1#!/bin/sh
2# Build a tarball from the latest upstream version, with a nice
3# version number.
4#
5# Requires git 1.6.6 or later, GNU date, and gzip.
6
7set -e
8
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
13# Determine version number.
14release=0.0
15upstream_version="${release}+r${REV}"
16
17# Generate tarball.
18echo "packaging ..."
19tar -czf fped_$upstream_version.orig.tar.gz debian-orig-source
20

Archive Download this file

Branches:
master



interactive