[Libvirt-cim] [PATCH] Properly quote the namespace in provider-register.sh

richardm at br.ibm.com richardm at br.ibm.com
Wed Dec 10 15:57:30 UTC 2008


+1

Best Regards,

Richard Maciel, MSc
Software Engineer - LTC Brazil
--------------------------
"'Would you tell me, please, which way I ought to go from here?'
'That depends a good deal on where you want to get to,'
'I don't know where. . .'
'Then it doesn't matter which way you go,' said the Cat. "
- Alice's Adventures in the Wonderland


libvirt-cim-bounces at redhat.com wrote on 09/12/2008 14:09:36:

> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1228838971 28800
> # Node ID 6783a4570e3cbd33d71045a60fd136540d662633
> # Parent  9e63b52769bf42a6c025b7baa32a84afff0f3828
> Properly quote the namespace in provider-register.sh
> 
> This use of the namespace in an error path causes an additional error 
message
> to be raised which adds confusion.
> 
> Signed-off-by: Dan Smith <danms at us.ibm.com>
> 
> diff -r 9e63b52769bf -r 6783a4570e3c provider-register.sh
> --- a/provider-register.sh   Tue Dec 09 07:29:28 2008 -0800
> +++ b/provider-register.sh   Tue Dec 09 08:09:31 2008 -0800
> @@ -116,7 +116,7 @@
>          return 1;;
>       esac 
>     done
> -   if test $namespace = $NAMESPACE
> +   if test "$namespace" = "$NAMESPACE"
>     then
>         cat >> $OUTFILE <<EOFC
>  instance of PG_ProviderCapabilities
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20081210/c6f4e2ab/attachment.htm>


More information about the Libvirt-cim mailing list