view mkinstalldirs @ 306:a8f964718837

[gaim-migrate @ 316] Ok, one last time, for the record: - It tries to load the requested font in the requested size. - It tries to load the requested font at *any* size. - It tries to load either courier or helvetica with the requested features at any size. - It tries to load the other of the two with the requested features at any size. - It tries to load the chosen outgoing font with the requested features at any size, if one exists. - It tries to load courier with no features (bold, italics, etc) at any size. - It tries to load helvetica with no features (bold, italics, etc) at any size. - It tries to load times with no features (bold, italics, etc) at any size. - It tries to load *any* font, generally the first one GDK can find, which ends up usually being something like Arial Bold. It returns after it gets a font, or after it gets *any* font. If you didn't get one, your system is screwy. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 01 Jun 2000 19:27:18 +0000
parents 494816c30ca7
children
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

# $Id: mkinstalldirs 14 2000-03-23 03:23:41Z robflynn $

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