X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fversion_control.sh;h=86cfaeffb710e9db84524279eb88903246a5d4f7;hb=3f3cf94b1558bd793e5b827a4ae5596ff30a53cf;hp=a238cae2480d7cc3e814e7486c2a529ae62047e9;hpb=f0948d82c8a6000c1879ca1715aeae841f89e085;p=feisty_meow.git 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).