source: main/trunk/model-sites-dev/atea/collect/global-digital-heritage/ACTIVATE.sh@ 34460

Last change on this file since 34460 was 34071, checked in by davidb, 4 years ago

Script changed to work out the site-name from the pwd (in addiition to col name)

  • Property svn:executable set to *
File size: 194 bytes
Line 
1#!/bin/bash
2
3cwd=`pwd`
4col=${cwd##*/}
5
6site_tail=${cwd%*/*/*}
7site=${site_tail##*/}
8
9activate.pl -removeold -site "$site" -library_url http://localhost:8383/greenstone3/$site-library $* "$col"
10
Note: See TracBrowser for help on using the repository browser.