Last change
on this file since 361 was 360, checked in by bcornec, 18 years ago |
more website work
|
-
Property svn:executable
set to
*
|
File size:
458 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # $Id$
|
---|
4 | #
|
---|
5 | # Delivery of the Web site in a DocumentRoot
|
---|
6 | #
|
---|
7 | #
|
---|
8 | # Please replace with your destination
|
---|
9 | #
|
---|
10 | DESTDIR=/var/www/html/mondo
|
---|
11 |
|
---|
12 |
|
---|
13 | dname=`dirname $0`
|
---|
14 | prem=`echo $dname |cut -c1`
|
---|
15 | if [ ${prem} == "/" ]; then
|
---|
16 | export TOOLHOME=$dname
|
---|
17 | else
|
---|
18 | export TOOLHOME=${PWD}/$dname
|
---|
19 | fi
|
---|
20 |
|
---|
21 | . $TOOLHOME/common-env
|
---|
22 |
|
---|
23 | rm -rf $DESTDIR
|
---|
24 | cp -a ${BASE}/svn/${VER}/website $DESTDIR
|
---|
25 | find $DESTDIR -type d | xargs chmod 755
|
---|
26 | find $DESTDIR -type f | xargs chmod 644
|
---|
Note:
See
TracBrowser
for help on using the repository browser.