diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-21 02:41:37 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-21 02:41:37 +0100 |
commit | bf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a (patch) | |
tree | 0242489dc085ee41f15d2cbab686fe9b56faf386 | |
parent | d67f2370600a76b79f048317664f802cd594cd65 (diff) | |
download | buildscripts-bf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a.tar.gz buildscripts-bf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a.tar.bz2 buildscripts-bf9ebc577359da6d7ddff50f8f5a3fd9ec51cb1a.zip |
not using 'cd -' as it behaves weird in for loops
-rwxr-xr-x | bin/build-package | 3 |
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 } |