source: branches/stable/tools/livwww-local @ 369

Last change on this file since 369 was 369, checked in by bcornec, 15 years ago

Thanks page done

  • Property svn:executable set to *
File size: 513 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#
10DESTDIR=/var/www/html/mondo
11
12
13dname=`dirname $0`
14prem=`echo $dname |cut -c1`
15if [ ${prem} == "/" ]; then
16        export TOOLHOME=$dname
17else
18        export TOOLHOME=${PWD}/$dname
19fi
20
21. $TOOLHOME/common-env
22
23rm -rf $DESTDIR
24cp -a ${BASE}/svn/${VER}/website $DESTDIR
25cp -a ${BASE}/svn/${VER}/documentation/* $DESTDIR/docs
26find $DESTDIR -type d | xargs chmod 755
27find $DESTDIR -type f | xargs chmod 644
Note: See TracBrowser for help on using the repository browser.