Mercurial > emacs
view lispref/mkinstalldirs @ 82120:cb9f54321c74
Merge from emacs--rel--22
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
Replace it with another one which disables undo before calling
erase-buffer and then turns it back on if needed.
2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 26 Jul 2007 05:18:03 +0000 |
parents | 746c40973d25 |
children | 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" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here