source:
branches/samba-3.5.x/source4/script/installdirs.sh@
1012
      
      | Last change on this file since 1012 was 414, checked in by , 16 years ago | |
|---|---|
| File size: 166 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh | 
| 2 | |
| 3 | while ( test -n "$1" ); do | 
| 4 | if [ ! -d $1 ]; then | 
| 5 | mkdir -p $1 | 
| 6 | fi | 
| 7 | |
| 8 | if [ ! -d $1 ]; then | 
| 9 | echo Failed to make directory $1 | 
| 10 | exit 1 | 
| 11 | fi | 
| 12 | |
| 13 | shift; | 
| 14 | done | 
| 15 | |
| 16 | |
| 17 | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    
