source: main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/ACTIVATE.sh@ 33680

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
3cwd=`pwd`
4col=${cwd##*/}
5
6echo "Obtaining lock: gs3-building.flock"
7flock gs3-building.flock activate.pl -site heritage-nz -library_url http://localhost:8383/greenstone3/library $* "$col"
8echo "Releasing lock: gs3-building.flock"
9
10
Note: See TracBrowser for help on using the repository browser.