Diff for libcfg+/mkinstalldirs between version 1.3 and 1.4
| version 1.3, 2002/10/07 10:54:39 |
version 1.4, 2002/10/07 16:59:59 |
|
|
| # Created: 1993-05-16 |
# Created: 1993-05-16 |
| # Public domain |
# Public domain |
| |
|
| # $Platon: mkinstalldirs,v 1.1 2002/04/08 19:00:21 host8 Exp $ |
# $Platon: libcfg+/mkinstalldirs,v 1.3 2002/10/07 10:54:39 rajo Exp $ |
| |
|
| errstatus=0 |
errstatus=0 |
| |
|
|
|
| if test ! -d "$pathcomp"; then |
if test ! -d "$pathcomp"; then |
| echo " mkdir $pathcomp" 1>&2 |
echo " mkdir $pathcomp" 1>&2 |
| |
|
| mkdir "$pathcomp" || lasterr=$? |
mkdir "$pathcomp" && chmod 755 "$pathcomp" || lasterr=$? |
| |
|
| if test ! -d "$pathcomp"; then |
if test ! -d "$pathcomp"; then |
| errstatus=$lasterr |
errstatus=$lasterr |
Platon Group <platon@platon.org> http://platon.org/
|
|