You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by an...@apache.org on 2012/09/08 01:36:29 UTC

git commit: The file scripts/storage/secondary/cloud-install-sys-tmplt had a syntax error,

Updated Branches:
  refs/heads/master f9e91a9f9 -> b52bd1fc5


The file scripts/storage/secondary/cloud-install-sys-tmplt had a syntax error,

provided-by : Marcus Sorensen


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/b52bd1fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/b52bd1fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/b52bd1fc

Branch: refs/heads/master
Commit: b52bd1fc5a00a3e1443e0cd30707ed961ea2a6f3
Parents: f9e91a9
Author: Anthony Xu <an...@cloud.com>
Authored: Fri Sep 7 16:36:38 2012 -0700
Committer: Anthony Xu <an...@cloud.com>
Committed: Fri Sep 7 16:36:38 2012 -0700

----------------------------------------------------------------------
 scripts/storage/secondary/cloud-install-sys-tmplt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b52bd1fc/scripts/storage/secondary/cloud-install-sys-tmplt
----------------------------------------------------------------------
diff --git a/scripts/storage/secondary/cloud-install-sys-tmplt b/scripts/storage/secondary/cloud-install-sys-tmplt
index 55f3d18..d744b56 100755
--- a/scripts/storage/secondary/cloud-install-sys-tmplt
+++ b/scripts/storage/secondary/cloud-install-sys-tmplt
@@ -106,7 +106,7 @@ fi
 if [ "$oflag" != 1 ]; then
     dbHost=$(sed '/^\#/d' /etc/cloud/management/db.properties | grep 'db.cloud.host'  | tail -n 1 | cut -d "=" -f2- | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
 fi
-if [ "$rflag" != 1]; then
+if [ "$rflag" != 1 ]; then
     dbUser=$(sed '/^\#/d' /etc/cloud/management/db.properties | grep 'db.cloud.username'  | tail -n 1 | cut -d "=" -f2- | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
 fi