[Libvirt-cim] [PATCH 2 of 3] Add base schema installation script

Dan Smith danms at us.ibm.com
Mon Dec 10 15:58:52 UTC 2007


HE> -    if [ ! mkdir ${dir}/CIM ]; then
HE> +    mkdir ${dir}/CIM
HE> +    if [ -z ${dir}/CIM ]; then

Ah, yes, this will fail if the CIM directory already exists.

HE> -    cp -ra ${TMPDIR}/* ${dir}
HE> -    sfcbrepos
HE> +    cp -ra ${TMPDIR}/* ${dir}/CIM
HE> +    sfcbrepos -f

Oh yeah, both are good changes.  I'll re-send the set with these
changes applied.

Thanks!

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20071210/dca2d119/attachment.sig>


More information about the Libvirt-cim mailing list