view mkinstalldirs @ 72037:52f1e8d569ad

(calcAlg-edit, calcAlg-enter): Remove reference to calc-previous-alg-entry. (calcAlg-previous): Use previous-history-element instead of calc-previous-alg-entry. (calc-do-alg-entry): Add history to reading from minibuffer. Change keybinding for calcAlg-plus-minus, add keybindings for previous-history-element and next-history-element. (calc-alg-entry-history, calc-quick-calc-history): New variables. (calc-do-quick-calc): Use calc-quick-calc-history. Remove reference to calc-previous-alg-entry. (calc-alg-entry): Use calc-alg-entry-history.
author Jay Belanger <jay.p.belanger@gmail.com>
date Thu, 20 Jul 2006 20:23:06 +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