[virt-tools-list] [PATCH] use brackets for shell variables

Eric Blake eblake at redhat.com
Mon Oct 22 12:53:55 UTC 2012


On 10/21/2012 10:05 AM, Christian Hesse wrote:
> ---

> +++ b/tests/test-baremetal.sh
> @@ -17,18 +17,18 @@
>  
>  root=tests/baremetal
>  
> -output="$(./virt-what --test-root=$root 2>&1)"
> +output="$(./virt-what --test-root=${root} 2>&1)"

Why?  This is cosmetic only, and serves only to require additional
typing.  I don't see any correctness changes in this patch.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121022/915a9429/attachment.sig>


More information about the virt-tools-list mailing list