You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ml...@apache.org on 2013/02/05 19:41:04 UTC

git commit: refs/heads/4.1 - Summary: Fix improper variable assignment in resizevolume.sh (remove $)

Updated Branches:
  refs/heads/4.1 90da9abac -> 7ceea3aa3


Summary: Fix improper variable assignment in resizevolume.sh (remove $)

Signed-off-by: Marcus Sorensen <ma...@betterservers.com> 1360089640 -0700


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

Branch: refs/heads/4.1
Commit: 7ceea3aa3b073ab5c0fb305da14034044103a438
Parents: 90da9ab
Author: Marcus Sorensen <ma...@betterservers.com>
Authored: Tue Feb 5 11:41:52 2013 -0700
Committer: Marcus Sorensen <ma...@betterservers.com>
Committed: Tue Feb 5 11:41:52 2013 -0700

----------------------------------------------------------------------
 scripts/storage/qcow2/resizevolume.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7ceea3aa/scripts/storage/qcow2/resizevolume.sh
----------------------------------------------------------------------
diff --git a/scripts/storage/qcow2/resizevolume.sh b/scripts/storage/qcow2/resizevolume.sh
index 2de1f9e..d15513e 100755
--- a/scripts/storage/qcow2/resizevolume.sh
+++ b/scripts/storage/qcow2/resizevolume.sh
@@ -177,7 +177,7 @@ resizeqcow2() {
   fi
   ##### end sanity #####
 
-  $actualsize=`qemu-img info $path | grep "virtual size" | sed -re  's/^.*\(([0-9]+).*$/\1/g'`
+  actualsize=`qemu-img info $path | grep "virtual size" | sed -re  's/^.*\(([0-9]+).*$/\1/g'`
 
   if [ $actualsize -ne $currentsize ]
   then