Mercurial > emacs
changeset 99260:80b866cd08a3
Put obsolete directory last.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 30 Oct 2008 18:58:46 +0000 |
parents | 707622c101fc |
children | 75097d31c6e6 |
files | update-subdirs |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/update-subdirs Thu Oct 30 18:58:38 2008 +0000 +++ b/update-subdirs Thu Oct 30 18:58:46 2008 +0000 @@ -27,9 +27,13 @@ ;; *) if [ -d $file ]; then - subdirs="\"$file\" $subdirs" + if [ "$file" = "obsolete" ]; then + subdirs="$subdirs \"$file\"" + else + subdirs="\"$file\" $subdirs" + fi fi - ;; + ;; esac done