source: main/trunk/greenstone3/web/get-installation-interface.sh@ 37681

Last change on this file since 37681 was 37659, checked in by davidb, 14 months ago

Added in usage

  • Property svn:executable set to *
File size: 912 bytes
Line 
1#!/bin/bash
2
3if [ $# = 0 ] ; then
4 echo "" >&2
5 echo "Usage: $0 <interface-name>" >&2
6 echo "" >&2
7 exit 1
8fi
9
10installation=$1
11
12# Looking to scriptify the following sort of svn checkout:
13# svn co https://svn.greenstone.org/gs3-installations/intermuse/trunk/interfaces/intermuse interfaces/intermuse
14
15echo ""
16echo "Checking out:"
17
18if [ $installation = "eurovision-lod" ] ; then
19 echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/eurovision -> interfaces/eurovision"
20 svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/eurovision interfaces/eurovision
21else
22 echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/$installation -> interfaces/$installation"
23 svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/$installation interfaces/$installation
24fi
25
26echo ""
27
28
Note: See TracBrowser for help on using the repository browser.