Last change
on this file since 36494 was 36494, checked in by davidb, 19 months ago |
Now location for install scriupt
|
-
Property svn:executable
set to
*
|
File size:
832 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ "x$GSDL3SRCHOME" = "x" ] ; then
|
---|
4 | pushd ../..
|
---|
5 | . ./gs3-setup-cli.sh
|
---|
6 | . ./gs3-setup.sh
|
---|
7 | popd
|
---|
8 | fi
|
---|
9 |
|
---|
10 | if [ ! -d "$GSDL3SRCHOME/web/ext/webswing" ] ; then
|
---|
11 | echo "Creating directories:"
|
---|
12 | echo " $GSDL3SRCHOME/web/ext/webswing"
|
---|
13 | echo " $GSDL3SRCHOME/web/ext/webswing/etc"
|
---|
14 |
|
---|
15 | mkdir "$GSDL3SRCHOME/web/ext/webswing"
|
---|
16 | mkdir "$GSDL3SRCHOME/web/ext/webswing/etc"
|
---|
17 | fi
|
---|
18 |
|
---|
19 | for f in catalina-opts-extra.args webswing.properties webswing.config ; do
|
---|
20 |
|
---|
21 | echo "Copying web/etc/$f.in => \$GSDL3SRCHOME/web/ext/webswing/etc/$f"
|
---|
22 | cat web/etc/$f.in \
|
---|
23 | | sed "s|@gsdl3srchome@|$GSDL3SRCHOME|g" \
|
---|
24 | > $GSDL3SRCHOME/web/ext/webswing/etc/$f
|
---|
25 | done
|
---|
26 |
|
---|
27 |
|
---|
28 | for d in api fonts ssl ; do
|
---|
29 | echo "Copying web/$d/ => \$GSDL3SRCHOME/web/ext/webswing/."
|
---|
30 | /bin/cp -r web/$d $GSDL3SRCHOME/web/ext/webswing/.
|
---|
31 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.