Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5750 in orxonox.OLD for trunk/mkinstalldirs


Ignore:
Timestamp:
Nov 24, 2005, 12:13:22 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the WorldEntities into the Trunk.
Merged with command:
svn merge branches/world_entities/ trunk/ -r5516:HEAD

conflics from world_entities changed in favor of branches/world_entity
all other conflict in favor of the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkinstalldirs

    r5479 r5750  
    22# mkinstalldirs --- make directory hierarchy
    33
    4 scriptversion=2005-06-29.22
     4scriptversion=2005-02-02.21
    55
    66# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
     
    1313
    1414errstatus=0
    15 dirmode=
     15dirmode=""
    1616
    1717usage="\
     
    104104for file
    105105do
    106   case $file in
    107     /*) pathcomp=/ ;;
    108     *)  pathcomp= ;;
    109   esac
    110   oIFS=$IFS
    111   IFS=/
    112   set fnord $file
     106  set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
    113107  shift
    114   IFS=$oIFS
    115108
     109  pathcomp=
    116110  for d
    117111  do
    118     test "x$d" = x && continue
    119 
    120     pathcomp=$pathcomp$d
     112    pathcomp="$pathcomp$d"
    121113    case $pathcomp in
    122114      -*) pathcomp=./$pathcomp ;;
     
    133125        if test ! -z "$dirmode"; then
    134126          echo "chmod $dirmode $pathcomp"
    135           lasterr=
     127          lasterr=""
    136128          chmod "$dirmode" "$pathcomp" || lasterr=$?
    137129
     
    143135    fi
    144136
    145     pathcomp=$pathcomp/
     137    pathcomp="$pathcomp/"
    146138  done
    147139done
Note: See TracChangeset for help on using the changeset viewer.