summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-package5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/build-package b/bin/build-package
index 0d3f007..7d7977f 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -240,7 +240,6 @@ build_packages() {
upload_packages() {
# dupload the new packages to the reprepro repository
- cd "$PKGDIST"
cat "$PROJECT_DIR/BUILDS_FOR" | egrep -v '(^$|^#.*$)' | while read line; do
l_DIST=$(echo ${line/: /:} | cut -d":" -f1 | tr [:upper:] [:lower:])
l_CODENAMES=${CODENAMES:-$(echo ${line/: /:} | cut -d":" -f2- | tr [:upper:] [:lower:])}
@@ -254,13 +253,13 @@ upload_packages() {
for l_ARCH in amd64 i386; do
cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
test -f ./dupload.conf || ln -s ~/.dupload.conf.$PREFIX ./dupload.conf
- ls $PROJECT_*.changes &>/dev/null && dupload -c --to $PREFIX-$l_DIST-$l_CODENAME $PROJECT_*.changes
+ ls $PROJECT_*.changes &>/dev/null && dupload -c --to $PREFIX-$l_DIST-$l_CODENAME $PROJECT_*.changes 0<&-
done
fi
for l_EXTRA_ARCH in $EXTRA_ARCHS; do
cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH"
test -f ./dupload.conf || ln -s ~/.dupload.conf.$PREFIX ./dupload.conf
- ls $PROJECT_*.changes &>/dev/null && dupload -c --to $PREFIX-$l_DIST-$l_CODENAME $PROJECT_*.changes
+ ls $PROJECT_*.changes &>/dev/null && dupload -c --to $PREFIX-$l_DIST-$l_CODENAME $PROJECT_*.changes 0<&-
done
done
done