minor build tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-12-07 21:03:45 +00:00
parent d48ae46b24
commit 6ca744908a
4 changed files with 11 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ function TestOnline {
if [ $skipdeb != yes ]; then if [ $skipdeb != yes ]; then
# We use a chroot environment on th elocal machine for the debian # We use a chroot environment on the build machine for the debian
# builds, so this build is pretty simple. Just copy the tarball # builds, so this build is pretty simple. Just copy the tarball
# and a build script to /tmp, and then run do-build-deb in the # and a build script to /tmp, and then run do-build-deb in the
# chroot. # chroot.

View File

@@ -24,15 +24,17 @@ LINUX_BUILD = /tmp/BUILD
# Upload server locations # Upload server locations
#UPLOAD_HOST = starship.python.net #UPLOAD_HOST = starship.python.net
#UPLOAD_USER = robind
#UPLOAD_PREVIEW_ROOT = /home/crew/robind/public_html/wxPython/preview #UPLOAD_PREVIEW_ROOT = /home/crew/robind/public_html/wxPython/preview
#UPLOAD_RELEASE_ROOT = /home/crew/robind/public_html/wxPython/release #UPLOAD_RELEASE_ROOT = /home/crew/robind/public_html/wxPython/release
#UPLOAD_METHOD = ssh #UPLOAD_METHOD = ssh
#UPLOAD_URL_ROOT = http://starship.python.net/crew/robind/wxPython/ #UPLOAD_URL_ROOT = http://starship.python.net/crew/robind/wxPython/
UPLOAD_HOST = wxpython.wxcommunity.com UPLOAD_HOST = wxpython.wxcommunity.com
UPLOAD_PREVIEW_ROOT = /httpdocs/preview UPLOAD_USER = wxpython
UPLOAD_RELEASE_ROOT = /httpdocs/release UPLOAD_PREVIEW_ROOT = /var/www/vhosts/wxcommunity.com/subdomains/wxpython/httpdocs/preview
UPLOAD_METHOD = ftp UPLOAD_RELEASE_ROOT = /var/www/vhosts/wxcommunity.com/subdomains/wxpython/httpdocs/release
UPLOAD_METHOD = ssh
UPLOAD_URL_ROOT = http://wxPython.wxcommunity.com/ UPLOAD_URL_ROOT = http://wxPython.wxcommunity.com/

View File

@@ -25,8 +25,8 @@ if [ $KIND = daily ]; then
destdir=$UPLOAD_PREVIEW_ROOT/$DAILY destdir=$UPLOAD_PREVIEW_ROOT/$DAILY
echo "Copying to $UPLOAD_HOST at $destdir..." echo "Copying to $UPLOAD_HOST at $destdir..."
if [ $UPLOAD_METHOD = ssh ]; then if [ $UPLOAD_METHOD = ssh ]; then
ssh $UPLOAD_HOST "mkdir -p $destdir" ssh $UPLOAD_USER@$UPLOAD_HOST "mkdir -p $destdir"
scp -pr $STAGING_DIR/* $UPLOAD_HOST:/$destdir scp -pr $STAGING_DIR/* $UPLOAD_USER@$UPLOAD_HOST:/$destdir
fi fi
if [ $UPLOAD_METHOD = ftp ]; then if [ $UPLOAD_METHOD = ftp ]; then
lftp -c "open $UPLOAD_HOST; mkdir $destdir" lftp -c "open $UPLOAD_HOST; mkdir $destdir"
@@ -79,8 +79,8 @@ if [ $KIND = release ]; then
echo "Copying to $UPLOAD_HOST..." echo "Copying to $UPLOAD_HOST..."
destdir=$UPLOAD_RELEASE_ROOT/$VERSION destdir=$UPLOAD_RELEASE_ROOT/$VERSION
if [ $UPLOAD_METHOD = ssh ]; then if [ $UPLOAD_METHOD = ssh ]; then
ssh $UPLOAD_HOST "mkdir -p $destdir" ssh $UPLOAD_USER@$UPLOAD_HOST "mkdir -p $destdir"
scp -pr $STAGING_DIR/* $UPLOAD_HOST:/$destdir scp -pr $STAGING_DIR/* $UPLOAD_USER@$UPLOAD_HOST:/$destdir
fi fi
if [ $UPLOAD_METHOD = ftp ]; then if [ $UPLOAD_METHOD = ftp ]; then
lftp -c "open $UPLOAD_HOST; mkdir $destdir" lftp -c "open $UPLOAD_HOST; mkdir $destdir"

View File

@@ -2,7 +2,7 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
set -o errexit set -o errexit
set -o xtrace #set -o xtrace
echo "-=-=-=- Hello from $HOSTNAME -=-=-=-" echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"