summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-21 02:41:37 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-21 02:41:37 +0100
commitbf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a (patch)
tree0242489dc085ee41f15d2cbab686fe9b56faf386
parentd67f2370600a76b79f048317664f802cd594cd65 (diff)
downloadbuildscripts-bf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a.tar.gz
buildscripts-bf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a.tar.bz2
buildscripts-bf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a.zip
not using 'cd -' as it behaves weird in for loops
-rwxr-xr-xbin/build-package3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/build-package b/bin/build-package
index b8c5ac1..0d3f007 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -255,18 +255,15 @@ upload_packages() {
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
- cd -
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
- cd -
done
done
done
- cd -
return 0
}