Last change
on this file since 366 was 366, checked in by bcornec, 18 years ago |
Website next step: download and docs page
|
-
Property svn:executable
set to
*
|
File size:
513 bytes
|
Rev | Line | |
---|
[360] | 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
|
---|
[366] | 25 | cp -a ${BASE}/svn/${VER}/documentation/* $DESTDIR/docs
|
---|
[360] | 26 | find $DESTDIR -type d | xargs chmod 755
|
---|
| 27 | find $DESTDIR -type f | xargs chmod 644
|
---|
Note:
See
TracBrowser
for help on using the repository browser.