From 34e5468d6b1cd3c48a660087b6dc2bfb7b9a41e0 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 10 Sep 2013 08:22:38 -0400 Subject: [PATCH] updated to sort the list of directories. --- scripts/rev_control/version_control.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index a238cae2..86cfaeff 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -251,7 +251,10 @@ function generate_rev_ctrl_filelist() find $dirhere -maxdepth 5 -type d -iname ".git" -exec echo {}/.. ';' >>$tempfile # CVS is not well behaved like git and (now) svn, and we seldom use it anymore. popd &>/dev/null - echo "$tempfile" + local sortfile=$(mktemp /tmp/zz_rev_checkin_sort.XXXXXX) + sort <"$tempfile" >"$sortfile" + \rm "$tempfile" + echo "$sortfile" } # iterates across a list of directories contained in a file (first parameter). -- 2.34.1