From 2056a89828a2357a1ef4ca2fc8810e062a36c789 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Tue, 4 Dec 2018 15:38:12 -0500 Subject: [PATCH] function correct was replaced with sync-committers This change was not reflected in the autocorrectinfofile fuction Change-Id: I7251508fce9afe5ebe7f14c941c278c186208258 Signed-off-by: Aric Gardner --- shell/autocorrectinfofile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.16.6