2 # Copyright (C) 2016 and later: Unicode, Inc. and others.
3 # License & terms of use: http://www.unicode.org/copyright.html
4 # ********************************************************************
6 # * Copyright (c) 2002-2004, International Business Machines Corporation and
7 # * others. All Rights Reserved.
8 # ********************************************************************
9 # mkinstalldirs --- make directory hierarchy
10 # Author: Noah Friedman <friedman@prep.ai.mit.edu>
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