view mkinstalldirs @ 73269:aeb79612dc36

Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 145-148) - Merge from emacs--devo--0 - Update from CVS 2006-10-04 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Clarify gnus-summary-limit-to-articles. 2006-10-04 Romain Francoise <romain@orebokech.com> * lisp/gnus/gnus-util.el (gnus-alist-to-hashtable, gnus-hashtable-to-alist): Moved here (and renamed) from gnus-registry.el. * lisp/gnus/gnus-registry.el: Require gnus-util. Use `gnus-alist-to-hashtable' and `gnus-hashtable-to-alist'. 2006-10-04 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/pop3.el (pop3-authentication-scheme): Clarify doc. (pop3-movemail): Warn about pop3-leave-mail-on-server. 2006-10-04 Dave Love <fx@gnu.org> * lisp/gnus/pop3.el (pop3-authentication-scheme): Add custom version. 2006-10-04 Jesper Harder <harder@ifa.au.dk> * lisp/gnus/pop3.el (pop3-leave-mail-on-server): Don't quote nil in doc string. Improve doc string. 2006-10-03 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-util.el (gnus-with-local-quit): New macro. * lisp/gnus/gnus-demon.el (gnus-demon): Replace with-local-quit with it. 2006-10-06 Reiner Steib <Reiner.Steib@gmx.de> * man/gnus.texi (Image Enhancements): Update for Emacs 22. * man/gnus-faq.texi ([1.3]): Update. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-466
author Miles Bader <miles@gnu.org>
date Sat, 07 Oct 2006 01:51:54 +0000
parents 746c40973d25
children 730155197b96 eb7e8d483840
line wrap: on
line source

#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain

errstatus=0

for file
do
   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
   shift

   pathcomp=
   for d
   do
     pathcomp="$pathcomp$d"
     case "$pathcomp" in
       -* ) pathcomp=./$pathcomp ;;
     esac

     if test ! -d "$pathcomp"; then
        echo "mkdir $pathcomp" 1>&2

        (mkdir "$pathcomp" && chmod a+rx "$pathcomp") || lasterr=$?

        if test ! -d "$pathcomp"; then
  	  errstatus=$lasterr
        fi
     fi

     pathcomp="$pathcomp/"
   done
done

exit $errstatus

# mkinstalldirs ends here