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 |
|
---|
3 | if [ $# = 0 ] ; then
|
---|
4 | echo "" >&2
|
---|
5 | echo "Usage: $0 <interface-name>" >&2
|
---|
6 | echo "" >&2
|
---|
7 | exit 1
|
---|
8 | fi
|
---|
9 |
|
---|
10 | installation=$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 |
|
---|
15 | echo ""
|
---|
16 | echo "Checking out:"
|
---|
17 |
|
---|
18 | if [ $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
|
---|
21 | else
|
---|
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
|
---|
24 | fi
|
---|
25 |
|
---|
26 | echo ""
|
---|
27 |
|
---|
28 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.