[BACK]Return to mkinstalldirs CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp

Diff for /OpenXM_contrib/gmp/Attic/mkinstalldirs between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/01/10 15:35:22 version 1.1.1.2, 2000/09/09 14:12:14
Line 4 
Line 4 
 # Created: 1993-05-16  # Created: 1993-05-16
 # Public domain  # Public domain
   
   # $Id$
   
 errstatus=0  errstatus=0
   
 for file  for file
Line 12  do
Line 14  do
    shift     shift
   
    pathcomp=     pathcomp=
    for d in ${1+"$@"} ; do     for d
      do
      pathcomp="$pathcomp$d"       pathcomp="$pathcomp$d"
      case "$pathcomp" in       case "$pathcomp" in
        -* ) pathcomp=./$pathcomp ;;         -* ) pathcomp=./$pathcomp ;;
      esac       esac
   
      if test ! -d "$pathcomp"; then       if test ! -d "$pathcomp"; then
         echo "mkdir $pathcomp" 1>&2          echo "mkdir $pathcomp"
         mkdir "$pathcomp" || errstatus=$?  
           mkdir "$pathcomp" || lasterr=$?
   
           if test ! -d "$pathcomp"; then
             errstatus=$lasterr
           fi
      fi       fi
   
      pathcomp="$pathcomp/"       pathcomp="$pathcomp/"

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>