[jsword-svn] jsword/etc/build s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Fri May 13 17:08:18 MST 2005


Update of /cvs/jsword/jsword/etc/build
In directory www.crosswire.org:/tmp/cvs-serv20707/etc/build

Modified Files:
	settings.crosswire.org.sh 
Added Files:
	build.sh 
Log Message:
build changes. Bug fix to view source pane.

--- NEW FILE: build.sh ---
#!/bin/bash

DIRNAME=`dirname $0`
if [ $DIRNAME = "." ]
then
    BUILD_HOME=`pwd`
else
    FIRST=`echo $DIRNAME | cut -c 1`
    if [ $FIRST = "/" ]
    then
        BUILD_HOME=$DIRNAME
    else
        cd `pwd`/$DIRNAME
        BUILD_HOME=`pwd`
    fi
fi

cd $BUILD_HOME/../../..
JSWORD_HOME=`pwd`/jsword

. $JSWORD_HOME/etc/build/settings.`dnsdomainname`.sh
. $JSWORD_HOME/etc/build/settings.global.sh
. $JSWORD_HOME/etc/build/commands.`dnsdomainname`.sh

rm -f $LOGFILE

{
    echo JSWORD_HOME=$JSWORD_HOME

    echo ""
    echo "=============================================================================="
    echo "Building jsword-web at `date`"
    cd jsword-web
    $ANT_HOME/bin/ant "$@" $PROPERTIES
} > $LOGFILE 2>&1

{
  echo "## Removing old nightly builds"
  find $FTP_BASE/nightly -type f -mtime +7 -exec rm -v {} \;
  echo ""
  echo "## Build log"
  cat $LOGFILE
} | /bin/mail -s "jsword buildlog (from `dnsdomainname`)" $EMAIL

Index: settings.crosswire.org.sh
===================================================================
RCS file: /cvs/jsword/jsword/etc/build/settings.crosswire.org.sh,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** settings.crosswire.org.sh	13 May 2005 12:09:23 -0000	1.14
--- settings.crosswire.org.sh	14 May 2005 00:08:16 -0000	1.15
***************
*** 1,3 ****
! umask -S u=rwx,g=rwx,o=rx
  
  export WEBAPP_JSWORD=/home/jsword/html
--- 1,3 ----
! umask -S u=rwx,g=rwx,o=rx > /dev/null
  
  export WEBAPP_JSWORD=/home/jsword/html



More information about the jsword-svn mailing list