Last change
on this file since 33680 was 33680, checked in by davidb, 4 years ago |
Greenstone3 is fixed, so don't need to print out message about runing FIX-UP script; also added in flock technique to avoid multiple people running the same script
|
-
Property svn:executable
set to
*
|
File size:
245 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | cwd=`pwd`
|
---|
4 | col=${cwd##*/}
|
---|
5 |
|
---|
6 | echo "Obtaining lock: gs3-building.flock"
|
---|
7 | flock gs3-building.flock activate.pl -site heritage-nz -library_url http://localhost:8383/greenstone3/library $* "$col"
|
---|
8 | echo "Releasing lock: gs3-building.flock"
|
---|
9 |
|
---|
10 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.