Sha256: 208dfecf8a8761b964838808394c09ca887e23421df370ff65dec7773b2f345c

Contents?: true

Size: 722 Bytes

Versions: 15

Compression:

Stored size: 722 Bytes

Contents

#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain

# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $

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"

        mkdir "$pathcomp" || lasterr=$?

        if test ! -d "$pathcomp"; then
  	  errstatus=$lasterr
        fi
     fi

     pathcomp="$pathcomp/"
   done
done

exit $errstatus

# mkinstalldirs ends here

Version data entries

15 entries across 9 versions & 2 rubygems

Version Path
tesseract_bin-1.0.2 vendor/tesseract-2.04/config/mkinstalldirs
tesseract_bin-1.0.1 vendor/tesseract-2.04/config/mkinstalldirs
tesseract_bin-1.0.0 vendor/tesseract-2.04/config/mkinstalldirs
intervals-0.3.61 ext/crlibm/scs_lib/mkinstalldirs
intervals-0.3.56 ext/crlibm/mkinstalldirs
intervals-0.3.56 ext/crlibm/scs_lib/mkinstalldirs
intervals-0.3.63 ext/crlibm/mkinstalldirs
intervals-0.3.63 ext/crlibm/scs_lib/mkinstalldirs
intervals-0.4.76 ext/crlibm/mkinstalldirs
intervals-0.4.76 ext/crlibm/scs_lib/mkinstalldirs
intervals-0.5.83 ext/crlibm/mkinstalldirs
intervals-0.5.83 ext/crlibm/scs_lib/mkinstalldirs
intervals-0.4.75 ext/crlibm/scs_lib/mkinstalldirs
intervals-0.4.75 ext/crlibm/mkinstalldirs
intervals-0.3.61 ext/crlibm/mkinstalldirs