]> git.eshelyaron.com Git - emacs.git/commitdiff
Put obsolete directory last.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 30 Oct 2008 18:58:46 +0000 (18:58 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 30 Oct 2008 18:58:46 +0000 (18:58 +0000)
update-subdirs

index b4df2cea045896ea24645ab630f25bf7688bd70a..336b6735abf8e30a64c985be744d0fb68f6f032d 100755 (executable)
@@ -27,9 +27,13 @@ for file in *; do
          ;;
        *)
            if [ -d $file ]; then
-             subdirs="\"$file\" $subdirs"
+               if [ "$file" = "obsolete" ]; then
+                   subdirs="$subdirs \"$file\""
+               else
+                   subdirs="\"$file\" $subdirs"
+               fi
            fi
-         ;;
+           ;;
     esac
 done