view mkinstalldirs @ 55241:cebca4e25fae

(sql-product-alist): Rename variable `sql-product-support'. Add Postgres login parameters. (sql-set-product, sql-product-feature): Update with renamed variable. (sql-connect-postgres): Add username prompt. (sql-imenu-generic-expression, sql-mode-font-lock-object-name): Make patterns less product specific. (sql-xemacs-p, sql-emacs19-p): Add flags for emacs variants. (sql-mode-abbrev-table): Modify initialization. (sql-builtin-face): Add variable. (sql-keywords-re): Add macro. (sql-mode-ansi-font-lock-keywords): Update for ANSI-92. (sql-mode-oracle-font-lock-keywords): Update for Oracle 9i. (sql-mode-postgres-font-lock-keywords): Update for Postgres 7.3. (sql-mode-mysql-font-lock-keywords): Update for MySql 4.0. (sql-mode-linter-font-lock-keywords) (sql-mode-ms-font-lock-keywords): Use `sql-keywords-re' macro. (sql-mode-sybase-font-lock-keywords, sql-mode-informix-font-lock-keywords) (sql-mode-interbase-font-lock-keywords, sql-mode-ingres-font-lock-keywords) (sql-mode-solid-font-lock-keywords, sql-mode-sqlite-font-lock-keywords) (sql-mode-db2-font-lock-keywords): Default to nil. (sql-product-font-lock): Always highlight ANSI keywords. (sql-add-product-keywords): Made similar to `font-lock-add-keywords'. (sql-send-string): Add function.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 29 Apr 2004 21:55:28 +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