]>
git.saurik.com Git - apple/icu.git/blob - icuSources/mkinstalldirs
2 # ********************************************************************
4 # * Copyright (c) 2002, International Business Machines Corporation and
5 # * others. All Rights Reserved.
6 # ********************************************************************
7 # mkinstalldirs --- make directory hierarchy
8 # Author: Noah Friedman <friedman@prep.ai.mit.edu>
12 # $Id: mkinstalldirs,v 1.1.1.1 2003/02/05 21:31:12 avery Exp $
18 set fnord
`echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
24 pathcomp
="$pathcomp$d"
26 -* ) pathcomp
=.
/$pathcomp ;;
29 if test ! -d "$pathcomp"; then
30 echo "mkdir $pathcomp"
32 mkdir "$pathcomp" || lasterr
=$?
34 if test ! -d "$pathcomp"; then
45 # mkinstalldirs ends here