source:
trunk/server/source4/script/installdirs.sh@
627
| Last change on this file since 627 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.
