Last change
on this file since 38951 was 38434, checked in by davidb, 6 months ago |
Added in the wget check as a sourced script
|
-
Property svn:executable
set to
*
|
File size:
882 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ $# = 0 ] ; then
|
---|
4 | echo "" >&2
|
---|
5 | echo "Usage: $0 <site-name>" >&2
|
---|
6 | echo "" >&2
|
---|
7 | exit 1
|
---|
8 | fi
|
---|
9 |
|
---|
10 | installation=$1
|
---|
11 |
|
---|
12 | . ./_gs-wget-check.bash
|
---|
13 |
|
---|
14 | # Looking to scriptify the following sort of svn checkout:
|
---|
15 | # svn co https://svn.greenstone.org/gs3-installations/intermuse/trunk/sites/intermuse sites/intermuse
|
---|
16 |
|
---|
17 | echo ""
|
---|
18 | echo "Checking out:"
|
---|
19 |
|
---|
20 | if [ $installation = "eurovision-lod" ] ; then
|
---|
21 | echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/eurovision -> sites/eurovision"
|
---|
22 | svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/eurovision sites/eurovision
|
---|
23 | else
|
---|
24 | echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/$installation -> sites/$installation"
|
---|
25 | svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/$installation sites/$installation
|
---|
26 | fi
|
---|
27 |
|
---|
28 | echo ""
|
---|
29 |
|
---|
30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.