From 8ce1824780bb0c77df4e351009bdb5d1a5610651 Mon Sep 17 00:00:00 2001 From: X2go Administrator Date: Wed, 18 Jan 2012 22:11:13 +0100 Subject: add orig.tar.gz file support, if exists... --- bin/build-package | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/build-package') diff --git a/bin/build-package b/bin/build-package index 7d7977f..bfc6e2a 100755 --- a/bin/build-package +++ b/bin/build-package @@ -172,11 +172,12 @@ build_packages() { git clone --local "$PROJECT_DIR" "$TEMP_DIR/$PROJECT/" cd "$TEMP_DIR/$PROJECT" git checkout $CHECKOUT || git checkout master + find $PROJECT_DIR/../ -type f -maxdepth 0 -mindepth 0 | grep $PROJECT_*.orig.tar.gz &>/dev/null && cp $PROJECT_DIR/../$PROJECT_*.orig.tar.gz .. GITREV=$(gitrevno) # we always build native packages for our repos test -f debian/source/format && cat debian/source/format | egrep '^3.0.*\(quilt\)$' >/dev/null && { echo "3.0 (native)" > debian/source/format - } + } # for Ubuntu version is the codename of the distribution release VERSION=$l_CODENAME -- cgit v1.2.3