view mkinstalldirs @ 57563:94a1ed353a39

(ibuffer-default-display-maybe-show-predicates): New customizable variable; whether to display buffers that match `ibuffer-maybe-show-predicates' by default. (ibuffer-maybe-show-predicates): Mention it in docstring. (ibuffer-display-maybe-show-predicates): New variable. (ibuffer-update): Prefix arg now toggles whether buffers that match `ibuffer-maybe-show-predicates' should be displayed. (ibuffer-mode): Set `ibuffer-display-maybe-show-predicates' locally to heed `ibuffer-default-display-maybe-show-predicates'. (ibuffer-redisplay-engine): Rename optional second arg to `ignore'.
author John Paul Wallington <jpw@pobox.com>
date Sun, 17 Oct 2004 18:07:41 +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