view lispref/mkinstalldirs @ 61924:d29accb0274a

Many small changes to keep the byte compiler happy. Furthermore: (org-prefix-format-compiled): New variable. (org-compile-prefix-format): New function. (org-timeline, org-agenda, org-diary): Call `org-compile-prefix-format'. (org-agenda-prefix-format,org-timeline-prefix-format): New options. (org-agenda-get-scheduled): Check if file is openned in `org-mode'. (org-get-entries-from-diary): Use `org-get-time-of-day', for consistency with entries from `org-mode' files. (org-get-time-of-day): Fixed bug with partial matches early in a line. (org-non-link-chars): New constant. (org-link-regexp): Respect `org-non-link-chars'. (org-agenda-day-view): Command removed. (org-agenda-toggle-week-view): Renamed from `org-agenda-week-view'. (org-follow-bbdb-link, org-store-link): Search also company field. (org-highlight-overlay): New variable. (org-highlight, org-unhighlight): New functions. (org-agenda-mode): Added pre-command-hook to remove highlight. (org-evaluate-time-range): Behavior depend upon time stamp format: Does it contain a time or not? (org-show-subtree, org-show-entry): New functions. (org-agenda-cleanup-fancy-diary): Remove empty lines.
author Carsten Dominik <dominik@science.uva.nl>
date Fri, 29 Apr 2005 08:40:22 +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