cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject git commit: updated refs/heads/4.1 to 2c36aa8
Date Sun, 21 Apr 2013 19:37:43 GMT
Updated Branches:
  refs/heads/4.1 5b4223a3b -> 2c36aa8fc


Fixing build script variable comparisons to include quotes

Signed-off-by: Chip Childers <chipchilders@apache.org>


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 <chipchilders@apache.org>
Authored: Sun Apr 21 15:37:00 2013 -0400
Committer: Chip Childers <chipchilders@apache.org>
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


Mime
View raw message