Files
libvirt-cim/0003-fix-bashisms.patch
Klaus Kämpf 2276b50922 - Update to version v0.6.3+git20230822.a5a073c:
* ci: lcitool: Maintain project package deps lists here
  * README: Update link to upstream repo and drop mailing list refernce
  * ci: refresh with latest lcitool manifest
  * ci: mark bleeding edge distros as allowing failures
  * configure: convert to using xz archives for dist
  * ci: refresh with lcitool manifest
  * Switch to new GitHub repo-lockdown configuration
  * ci: remove obsolete refresh script and documentation
  * ci: re-generate containers/gitlab config from manifest
  * ci: define a CI manifest file
- add 0005-include-stdlib.h.patch, 0006-drop-base_schema.patch
- drop f6b7eeaf.patch, upstream
- rename
  provider-reg.patch to 0001-provider-reg.patch
  automake.patch to 0002-automake.patch
  libvirt-cim-0.6.3-fix-bashisms.patch to 0003-fix-bashisms.patch
  memory_leaks.patch to 0004-memory-leaks.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:wbem/libvirt-cim?expand=0&rev=36
2024-11-05 16:35:22 +00:00

55 lines
1.9 KiB
Diff

From 010f6e617eb8d7b1ff7e9fe5f27953e3f8b58cb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@gmail.com>
Date: Tue, 5 Nov 2024 16:53:28 +0100
Subject: [PATCH 3/6] fix bashisms
---
provider-register.sh | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/provider-register.sh b/provider-register.sh
index cd44462..0b60a9a 100755
--- a/provider-register.sh
+++ b/provider-register.sh
@@ -146,12 +146,12 @@ EOFP
done
#produce Capabilities
- let serial=0
+ serial=0
for rf in $regfiles
do
cat $rf | grep -v '^[[:space:]]*#.*' | while read CLASSNAME NAMESPACE PROVIDERNAME PROVIDERMODULE CAPS
do
- let serial=serial+1
+ serial=$((serial + 1))
numcap=
for cap in $CAPS
do
@@ -792,14 +792,14 @@ mofs=$*
if [ "$help" = "1" ]
then
usage
- echo -e "\t-h display help message"
- echo -e "\t-v verbose mode"
- echo -e "\t-d deregister provider and uninstall schema"
- echo -e "\t-t specify cimserver type (pegasus|sfcb|openwbem|sniacimom)"
- echo -e "\t-r specify registration files"
- echo -e "\t-m specify schema mof files"
- echo -e "\t-X create repository for alternate platform (sfcb only at the moment)."
- echo -e "\t-n target namespace definition (default: root/cimv2)."
+ echo " -h display help message"
+ echo " -v verbose mode"
+ echo " -d deregister provider and uninstall schema"
+ echo " -t specify cimserver type (pegasus|sfcb|openwbem|sniacimom)"
+ echo " -r specify registration files"
+ echo " -m specify schema mof files"
+ echo " -X create repository for alternate platform (sfcb only at the moment)."
+ echo " -n target namespace definition (default: root/cimv2)."
echo
echo Use this command to install schema mofs and register providers.
echo CIM Server Type is required as well as at least one registration file and one mof.
--
2.47.0