| # Copyright (C) 2016 and later: Unicode, Inc. and others. |
| # License & terms of use: http://www.unicode.org/copyright.html |
| # ******************************************************************** |
| # * Copyright (c) 2002-2004, International Business Machines Corporation and |
| # * others. All Rights Reserved. |
| # ******************************************************************** |
| # mkinstalldirs --- make directory hierarchy |
| # Author: Noah Friedman <friedman@prep.ai.mit.edu> |
| set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` |
| -* ) pathcomp=./$pathcomp ;; |
| if test ! -d "$pathcomp"; then |
| mkdir "$pathcomp" || lasterr=$? |
| if test ! -d "$pathcomp"; then |
| # mkinstalldirs ends here |