Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCC06E46E for ; Tue, 5 Feb 2013 18:41:04 +0000 (UTC) Received: (qmail 93416 invoked by uid 500); 5 Feb 2013 18:41:04 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 93381 invoked by uid 500); 5 Feb 2013 18:41:04 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 93374 invoked by uid 99); 5 Feb 2013 18:41:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 18:41:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 749B882A6D4; Tue, 5 Feb 2013 18:41:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mlsorensen@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: git commit: refs/heads/4.1 - Summary: Fix improper variable assignment in resizevolume.sh (remove $) Message-Id: <20130205184104.749B882A6D4@tyr.zones.apache.org> Date: Tue, 5 Feb 2013 18:41:04 +0000 (UTC) Updated Branches: refs/heads/4.1 90da9abac -> 7ceea3aa3 Summary: Fix improper variable assignment in resizevolume.sh (remove $) Signed-off-by: Marcus Sorensen 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 Authored: Tue Feb 5 11:41:52 2013 -0700 Committer: Marcus Sorensen 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