source: main/trunk/model-sites-dev/atea/collect/marae-walls/RECONFIGURE-COL.sh@ 34472

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

Init cut at files for core elements to be pulled into the Marae Voxel VR session

  • Property svn:executable set to *
File size: 568 bytes
Line 
1#!/bin/bash
2
3cwd=`pwd`
4col=${cwd##*/}
5
6site_tail=${cwd%*/*/*}
7site=${site_tail##*/}
8
9echo "Full reconfiguration of site/col:"
10echo " $site/$col"
11echo ""
12
13
14#reconfig_url="http://localhost:8383/greenstone3/$site-library?a=s&sa=c&sc=$col"
15reconfig_url="http://localhost:8383/greenstone3/library?a=s&sa=c&sc=$col"
16
17echo "Running:"
18echo " wget -O /dev/null \"$reconfig_url\""
19
20wget -O /dev/null "$reconfig_url" >/dev/null 2>&1
21
22status=$?
23
24if [ $status != 0 ] ; then
25 echo "Error encountered when requesting Greenstone3 reconfiguration" 1>&2
26else
27 echo "Done"
28fi
29
30
Note: See TracBrowser for help on using the repository browser.