From: Aric Gardner Date: Tue, 4 Dec 2018 20:38:12 +0000 (-0500) Subject: function correct was replaced with sync-committers X-Git-Tag: v0.19.1~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F13812%2F1;p=releng%2Flftools.git function correct was replaced with sync-committers This change was not reflected in the autocorrectinfofile fuction Change-Id: I7251508fce9afe5ebe7f14c941c278c186208258 Signed-off-by: Aric Gardner --- diff --git a/shell/autocorrectinfofile b/shell/autocorrectinfofile index 97fdb256..4e877788 100755 --- a/shell/autocorrectinfofile +++ b/shell/autocorrectinfofile @@ -102,8 +102,8 @@ main() { fi if ! [[ -d "$DIR"/"$repo" ]]; then - echo " git clone -q $gerritclonebase$repo $DIR/$repo || exit 1" - git clone -q "$gerritclonebase""$repo" "$DIR"/"$repo" || exit 1 + echo " git clone -q $gerritclonebase/$repo $DIR/$repo || exit 1" + git clone -q "$gerritclonebase"/"$repo" "$DIR"/"$repo" || exit 1 fi diff="$(diff <(lftools infofile get-committers "$DIR"/LDAP.yaml 2>&-| sort) <(lftools infofile get-committers "$DIR"/"$repo"/INFO.yaml 2>&- | sort))" @@ -138,8 +138,8 @@ main() { if ! [ "${#onlyinLDAP[@]}" -eq 0 ]; then echo " These users are listed as commiters in LDAP and not in the INFO.yaml" for missing in "${onlyinLDAP[@]}"; do - echo " lftools infofile correct $DIR/$repo/INFO.yaml $DIR/LDAP.yaml $missing --repo $repo 2>&-" - lftools infofile correct "$DIR"/"$repo"/INFO.yaml "$DIR"/LDAP.yaml "$missing" --repo "$repo" 2>&- + echo " lftools infofile sync-committers $DIR/$repo/INFO.yaml $DIR/LDAP.yaml $missing --repo $repo 2>&-" + lftools infofile sync-committers "$DIR"/"$repo"/INFO.yaml "$DIR"/LDAP.yaml "$missing" --repo "$repo" 2>&- done fi