Last change
on this file since 37631 was 37631, checked in by davidb, 13 months ago |
Script that prints out the svn commands to run to create a new installation
|
-
Property svn:executable
set to
*
|
File size:
916 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ $# != 1 ] ; then
|
---|
4 | echo "" >&2
|
---|
5 | echo "Usage: $0 installation-name" >&2
|
---|
6 | echo "" >&2
|
---|
7 | exit 1
|
---|
8 | fi
|
---|
9 |
|
---|
10 |
|
---|
11 | install_name=$1
|
---|
12 |
|
---|
13 | svn_message="Creating initial directory structure for installation '$install_name'"
|
---|
14 |
|
---|
15 | echo ""
|
---|
16 | echo "To create an initial directory structure, select and run from the following:"
|
---|
17 | echo "----"
|
---|
18 | echo " # Top-level folder for '$install_name'"
|
---|
19 | echo " " svn mkdir -m \""$svn_message"\" https://svn.greenstone.org/gs3-installations/$install_name/trunk
|
---|
20 |
|
---|
21 | echo ""
|
---|
22 | echo " # Site files for '$install_name'"
|
---|
23 | echo " " svn mkdir --parents -m \""$svn_message"\" https://svn.greenstone.org/gs3-installations/$install_name/trunk/sites/$install_name
|
---|
24 |
|
---|
25 | echo ""
|
---|
26 | echo " # Interface files for '$install_name'"
|
---|
27 | echo " " svn mkdir --parents -m \""$svn_message"\" https://svn.greenstone.org/gs3-installations/$install_name/trunk/interfaces/$install_name
|
---|
28 | echo "----"
|
---|
29 |
|
---|
30 | echo ""
|
---|
Note:
See
TracBrowser
for help on using the repository browser.