now recursive and normal modes should list repos in the same order

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-04-13 12:48:41 +03:00
parent b69b430649
commit 880e5f8f9a

View File

@ -40,7 +40,7 @@ TARGET_PATH=${TARGET_PATH:=.}
cd "$TARGET_PATH" cd "$TARGET_PATH"
if [ $RECURSIVE ] ; then if [ $RECURSIVE ] ; then
DIRS=($(find . -name .git)) DIRS=($(find . -name .git | sort))
else else
DIRS=(./*/.git) DIRS=(./*/.git)
fi fi