Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0CDEF040 for ; Sun, 21 Apr 2013 19:37:43 +0000 (UTC) Received: (qmail 91355 invoked by uid 500); 21 Apr 2013 19:37:43 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 91324 invoked by uid 500); 21 Apr 2013 19:37:43 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 91316 invoked by uid 99); 21 Apr 2013 19:37:43 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Apr 2013 19:37:43 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 44A7881C05F; Sun, 21 Apr 2013 19:37:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chipchilders@apache.org To: commits@cloudstack.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/4.1 to 2c36aa8 Date: Sun, 21 Apr 2013 19:37:43 +0000 (UTC) Updated Branches: refs/heads/4.1 5b4223a3b -> 2c36aa8fc Fixing build script variable comparisons to include quotes Signed-off-by: Chip Childers Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2c36aa8f Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2c36aa8f Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2c36aa8f Branch: refs/heads/4.1 Commit: 2c36aa8fcd65a56f260cb397ef8ddac9dc7d8fee Parents: 5b4223a Author: Chip Childers Authored: Sun Apr 21 15:37:00 2013 -0400 Committer: Chip Childers Committed: Sun Apr 21 15:37:00 2013 -0400 ---------------------------------------------------------------------- tools/build/build_asf.sh | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2c36aa8f/tools/build/build_asf.sh ---------------------------------------------------------------------- diff --git a/tools/build/build_asf.sh b/tools/build/build_asf.sh index 912733a..848747c 100755 --- a/tools/build/build_asf.sh +++ b/tools/build/build_asf.sh @@ -64,8 +64,8 @@ echo "Using version: $version" echo "Using source directory: $sourcedir" echo "Using output directory: $outputdir" echo "Using branch: $branch" -if [ $tag == 'yes' ]; then - if [ $certid == 'X' ]; then +if [ "$tag" == 'yes' ]; then + if [ "$certid" == 'X' ]; then echo "Tagging the branch with the version number, and signing the branch with your default certificate." else echo "Tagging the branch with the version number, and signing the branch with certificate ID $certid." @@ -107,7 +107,7 @@ bzip2 $outputdir/apache-cloudstack-$version-src.tar cd $outputdir echo 'armor' -if [$certid == 'X' ]; then +if ["$certid" == 'X' ]; then gpg -v --armor --output apache-cloudstack-$version-src.tar.bz2.asc --detach-sig apache-cloudstack-$version-src.tar.bz2 else gpg -v --default-key $certid --armor --output apache-cloudstack-$version-src.tar.bz2.asc --detach-sig apache-cloudstack-$version-src.tar.bz2 @@ -122,17 +122,17 @@ gpg -v --print-md SHA512 apache-cloudstack-$version-src.tar.bz2 > apache-cloudst echo 'verify' gpg -v --verify apache-cloudstack-$version-src.tar.bz2.asc apache-cloudstack-$version-src.tar.bz2 -if [ $tag == 'yes' ]; then +if [ "$tag" == 'yes' ]; then echo 'tag' cd $sourcedir - if [ $certid == 'X' ]; then + if [ "$certid" == 'X' ]; then git tag -s $version -m "Tagging release $version on branch $branch." else git tag -u $certid -s $version -m "Tagging release $version on branch $branch." fi fi -if [$committosvn == 'yes' ]; then +if ["$committosvn" == 'yes' ]; then echo 'committing artifacts to svn' rm -Rf /tmp/cloudstack-dev-dist cd /tmp