Root/debian/get-orig-source.sh

Source at commit 0fb83ed27446be7bc114945ca6e74895ac4e65b6 created 9 years 2 months ago.
By Xiangfu Liu, use usual name for orig tarball top-level directory
1#!/bin/sh
2# Build a tarball from the latest upstream version, with a nice
3# version number.
4
5set -e
6
7# Determine version number.
8release=0.0
9upstream_version="${release}+r${REV}"
10
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
17# Generate tarball.
18echo "packaging ..."
19tar -czf fped_$upstream_version.orig.tar.gz ${TOPFOLDER}
20

Archive Download this file

Branches:
master



interactive