Mercurial > emacs
view lispref/mkinstalldirs @ 79393:09f6c4242048
(Fx_create_frame, Fx_display_pixel_width, Fx_display_pixel_height,
Fx_display_planes, Fx_display_color_cells, Fx_server_max_request_size,
Fx_server_vendor, Fx_server_version, Fx_display_screens, Fx_display_mm_height,
Fx_display_mm_width, Fx_display_backing_store, Fx_display_visual_class,
Fw32_select_font, Fx_display_save_under): Fix typos in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 15 Nov 2007 09:33:33 +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