view mkinstalldirs @ 76444:aa83dbd3dea1

(rcirc-timeout-seconds): New variable. (rcirc-keepalive-seconds): Remove variable. (rcirc-server-name, rcirc-timeout-timer, rcirc-connecting) (rcirc-process, rcirc-user-disconnect): New variables. (rcirc-connect): Initalize new variables. (rcirc-keepalive): Don't send keepalive pings before connection is completed. (rcirc-sentinel): Do mark all channels with activity when connection is dropped. Run hook with process buffer local. (rcirc-reschedule-timeout, rcirc-delete-process): New functions. (rcirc-buffer-process): Return value of rcirc-process if rcirc-server-buffer is nil. (rcirc-server-name): Return the reported server name. (rcirc-update-prompt): Simplify computation of the server name. (rcirc-format-response-string): Likewise. (rcirc-handler-001): Mark server as connected, record the reported server name, and schedule a timeout. (rcirc-track-nick): Add a spec for the tty class. (rcirc-user-non-nick): Remove function. (rcirc-nick-prefix-chars): Add variable. (rcirc-user-nick): Use above variable.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 10 Mar 2007 19:31:38 +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