Yedidyah Bar David has posted comments on this change.

Change subject: core: Fix db upgrage scripts numbering check
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.ovirt.org/#/c/39947/1/build/dbscripts-duplicate_upgrade_scripts.sh
File build/dbscripts-duplicate_upgrade_scripts.sh:

Line 1: #!/bin/sh
Line 2: 
Line 3: OUT="$(find "$(dirname "$0")/../packaging/dbscripts" -exec basename {} 
\; | grep -P '^\d{2}_\d{2}_\d{2,8}' -o | sort | uniq -d)"
Perhaps, instead of -exec basename,

 -printf "%f\n"
Line 4: 
Line 5: if [ -n "${OUT}" ]; then
Line 6:         echo "Found duplicate upgrade scripts with version $(echo 
${OUT}), please resolve and retry" >&2
Line 7:         exit 1


-- 
To view, visit https://gerrit.ovirt.org/39947
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4e48052b4e65e9e1cccd8be82acf0b4bcd59f7c4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jakub Niedermertl <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Jakub Niedermertl <[email protected]>
Gerrit-Reviewer: Martin PeÅ™ina <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to