diff options
author | X2go Administrator <x2go-admin@minobo.das-netzwerkteam.de> | 2012-01-18 22:16:22 +0100 |
---|---|---|
committer | X2go Administrator <x2go-admin@minobo.das-netzwerkteam.de> | 2012-01-18 22:16:22 +0100 |
commit | 146ca95e1971f3ddeb4819f22f1e97a07a659113 (patch) | |
tree | 780b51a6a87e0a080875b99658e70573f45875be | |
parent | c7aa2e7bdfdceb1130ad420798b28ca1717b537c (diff) | |
download | buildscripts-146ca95e1971f3ddeb4819f22f1e97a07a659113.tar.gz buildscripts-146ca95e1971f3ddeb4819f22f1e97a07a659113.tar.bz2 buildscripts-146ca95e1971f3ddeb4819f22f1e97a07a659113.zip |
syntax fix
-rwxr-xr-x | bin/build-package | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-package b/bin/build-package index 9c5c109..f1c24de 100755 --- a/bin/build-package +++ b/bin/build-package @@ -126,7 +126,7 @@ clear_pkgdist() { if [ "x$EXTRA_ARCHS_ONLY" = "x" ]; then for l_ARCH in amd64 i386; do - [ "x$SKIP_ARCH" != "x$l_ARCH" ] { + [ "x$SKIP_ARCH" != "x$l_ARCH" ] && { mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH" rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/dupload.conf" rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PROJECT_"*.changes @@ -254,7 +254,7 @@ upload_packages() { if [ "x$EXTRA_ARCHS_ONLY" = "x" ]; then for l_ARCH in amd64 i386; do - [ "x$SKIP_ARCH" != "x$l_ARCH" ] { + [ "x$SKIP_ARCH" != "x$l_ARCH" ] && { 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 0<&- |