From: Chris Koeritz Date: Tue, 10 Sep 2013 12:22:38 +0000 (-0400) Subject: updated to sort the list of directories. X-Git-Tag: 2.140.90~929 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=34e5468d6b1cd3c48a660087b6dc2bfb7b9a41e0;p=feisty_meow.git updated to sort the list of directories. --- 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).