Browse Source

Ticket #48828 - db2ldif is not taking into account multiple suffixes or backends

https://fedorahosted.org/389/ticket/48828
Bug Description:
    db2ldif script is not considering multiple options for include suffix,
    exclude suffix and backend
Fix Description:
    cumulate the multiple values so as to be taken into account

Reviewed by: [email protected]
Branch: master
Doc impact: no
German Parente 9 years ago
parent
commit
4fc76f2bcb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      ldap/admin/src/scripts/db2ldif.in

+ 3 - 3
ldap/admin/src/scripts/db2ldif.in

@@ -104,11 +104,11 @@ do
         h) usage
            exit 0;;
         Z) servid=$OPTARG;; 
-        n) benameopt="-n $OPTARG"
+        n) benameopt=$benameopt" -n $OPTARG"
            required_param="yes";;
-        s) includeSuffix="-s \"$OPTARG\""
+        s) includeSuffix=$includeSuffix" -s \"$OPTARG\""
            required_param="yes";;
-        x) excludeSuffix="-x \"$OPTARG\"";;
+        x) excludeSuffix=$excludeSuffix" -x \"$OPTARG\"";;
         a) outputFile="-a \"$OPTARG\"";;
         d) args=$args" -d \"$OPTARG\"";;
         D) args=$args" -D \"$OPTARG\"";;