Unverified Commit e0e10d7a authored by ccacciari's avatar ccacciari Committed by GitHub
Browse files

Merge pull request #106 from cookie33/bugfix

Bugfix. make sure EUDAT/REPLICA is added only once if it is the same.
parents 0f938f62 0ebc1839
......@@ -191,7 +191,12 @@ EUDATUpdatePIDWithNewChild(*parentPID, *childPID) {
*replicaNew = *childPID;
}
else {
*replicaNew = *replica ++ "," ++ *childPID;
if (*replica like "*"++*childPID++"*") {
*replicaNew = *replica;
}
else {
*replicaNew = *replica ++ "," ++ *childPID;
}
}
msiExecCmd("epicclient.py", "*credStoreType *credStorePath modify *parentPID EUDAT/REPLICA *replicaNew",
"null", "null", "null", *outUPwNC);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment