incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [24/50] [abbrv] git commit: refs/heads/storage_refactor - Summary: Fix improper variable assignment in resizevolume.sh (remove $)
Date Wed, 06 Feb 2013 02:43:29 GMT
Summary: Fix improper variable assignment in resizevolume.sh (remove $)

Signed-off-by: Marcus Sorensen <marcus@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/750fb2c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/750fb2c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/750fb2c3

Branch: refs/heads/storage_refactor
Commit: 750fb2c31e090d0fc24893131700dd5a17791cc2
Parents: 7f885b6
Author: Marcus Sorensen <marcus@betterservers.com>
Authored: Tue Feb 5 11:40:40 2013 -0700
Committer: Marcus Sorensen <marcus@betterservers.com>
Committed: Tue Feb 5 11:40:40 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/750fb2c3/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


Mime
View raw message