@@ -64,8 +64,8 @@ echo "Using version: $version"
6464echo " Using source directory: $sourcedir "
6565echo " Using output directory: $outputdir "
6666echo " Using branch: $branch "
67- if [ " $tag " == " yes" ]; then
68- if [ " $certid " == " X" ]; then
67+ if [ " $tag " = " yes" ]; then
68+ if [ " $certid " = " X" ]; then
6969 echo " Tagging the branch with the version number, and signing the branch with your default certificate."
7070 else
7171 echo " Tagging the branch with the version number, and signing the branch with certificate ID $certid ."
@@ -143,7 +143,7 @@ bzip2 $outputdir/apache-cloudstack-$version-src.tar
143143
144144cd $outputdir
145145echo ' armor'
146- if [ " $certid " == " X" ]; then
146+ if [ " $certid " = " X" ]; then
147147 gpg -v --armor --output apache-cloudstack-$version -src.tar.bz2.asc --detach-sig apache-cloudstack-$version -src.tar.bz2
148148else
149149 gpg -v --default-key $certid --armor --output apache-cloudstack-$version -src.tar.bz2.asc --detach-sig apache-cloudstack-$version -src.tar.bz2
@@ -155,7 +155,7 @@ sha512sum apache-cloudstack-$version-src.tar.bz2 > apache-cloudstack-$version-sr
155155echo ' verify'
156156gpg -v --verify apache-cloudstack-$version -src.tar.bz2.asc apache-cloudstack-$version -src.tar.bz2
157157
158- if [ " $tag " == " yes" ]; then
158+ if [ " $tag " = " yes" ]; then
159159 echo ' tag'
160160 cd $sourcedir
161161 if [ " $certid " == " X" ]; then
@@ -165,7 +165,7 @@ if [ "$tag" == "yes" ]; then
165165 fi
166166fi
167167
168- if [ " $committosvn " == " yes" ]; then
168+ if [ " $committosvn " = " yes" ]; then
169169 echo ' committing artifacts to svn'
170170 rm -Rf /tmp/cloudstack-dev-dist
171171 cd /tmp
0 commit comments