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

# HG changeset patch # User Dan Smith <danms@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@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

Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@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.
+1 -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

+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@redhat.com wrote on 09/12/2008 14:09:36:
# HG changeset patch # User Dan Smith <danms@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@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@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
participants (3)
-
Dan Smith
-
Kaitlin Rupert
-
richardm@br.ibm.com