summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-18 22:14:03 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-18 22:14:03 +0100
commitc7aa2e7bdfdceb1130ad420798b28ca1717b537c (patch)
tree718042ed144da7ce8a9af44aef578d7ab468b912 /bin
parentf0e5ce61c28180c380dc3921423aa9ea3ec9c02c (diff)
parenteca903fceb335913fa641b30cdf7973daa4ee93a (diff)
downloadbuildscripts-c7aa2e7bdfdceb1130ad420798b28ca1717b537c.tar.gz
buildscripts-c7aa2e7bdfdceb1130ad420798b28ca1717b537c.tar.bz2
buildscripts-c7aa2e7bdfdceb1130ad420798b28ca1717b537c.zip
Merge branch 'master' of ssh://code.x2go.org:32032/~/git/buildscripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-package3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-package b/bin/build-package
index f0a4edb..9c5c109 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -174,11 +174,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