Last change
on this file since 33161 was 33161, checked in by davidb, 5 years ago |
Script to simplify fixing up network locking problem when running activate
|
-
Property svn:executable
set to
*
|
File size:
414 bytes
|
Rev | Line | |
---|
[33161] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | rm -rf index.DUFF/
|
---|
| 4 |
|
---|
| 5 | if [ -d index/building ] ; then
|
---|
| 6 | echo " Moving 'building' out of 'index'"
|
---|
| 7 | mv index/building .
|
---|
| 8 | echo " Renaming 'index' to 'index.DUFF'"
|
---|
| 9 | mv index index.DUFF
|
---|
| 10 | echo " Renaming 'building' to 'index'"
|
---|
| 11 | mv building index
|
---|
| 12 | else
|
---|
| 13 | echo " Failed to find 'building' inside 'index'" >&2
|
---|
| 14 | echo " Directory structure not in the form expected for fixing" >&2
|
---|
| 15 | echo " Exiting" >&2
|
---|
| 16 | fi
|
---|
| 17 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.