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
# and a build script to /tmp, and then run do-build-deb in the
# chroot.
# Upload server locations
#UPLOAD_HOST = starship.python.net
+#UPLOAD_USER = robind
#UPLOAD_PREVIEW_ROOT = /home/crew/robind/public_html/wxPython/preview
#UPLOAD_RELEASE_ROOT = /home/crew/robind/public_html/wxPython/release
#UPLOAD_METHOD = ssh
#UPLOAD_URL_ROOT = http://starship.python.net/crew/robind/wxPython/
UPLOAD_HOST = wxpython.wxcommunity.com
-UPLOAD_PREVIEW_ROOT = /httpdocs/preview
-UPLOAD_RELEASE_ROOT = /httpdocs/release
-UPLOAD_METHOD = ftp
+UPLOAD_USER = wxpython
+UPLOAD_PREVIEW_ROOT = /var/www/vhosts/wxcommunity.com/subdomains/wxpython/httpdocs/preview
+UPLOAD_RELEASE_ROOT = /var/www/vhosts/wxcommunity.com/subdomains/wxpython/httpdocs/release
+UPLOAD_METHOD = ssh
UPLOAD_URL_ROOT = http://wxPython.wxcommunity.com/
destdir=$UPLOAD_PREVIEW_ROOT/$DAILY
echo "Copying to $UPLOAD_HOST at $destdir..."
if [ $UPLOAD_METHOD = ssh ]; then
- ssh $UPLOAD_HOST "mkdir -p $destdir"
- scp -pr $STAGING_DIR/* $UPLOAD_HOST:/$destdir
+ ssh $UPLOAD_USER@$UPLOAD_HOST "mkdir -p $destdir"
+ scp -pr $STAGING_DIR/* $UPLOAD_USER@$UPLOAD_HOST:/$destdir
fi
if [ $UPLOAD_METHOD = ftp ]; then
lftp -c "open $UPLOAD_HOST; mkdir $destdir"
echo "Copying to $UPLOAD_HOST..."
destdir=$UPLOAD_RELEASE_ROOT/$VERSION
if [ $UPLOAD_METHOD = ssh ]; then
- ssh $UPLOAD_HOST "mkdir -p $destdir"
- scp -pr $STAGING_DIR/* $UPLOAD_HOST:/$destdir
+ ssh $UPLOAD_USER@$UPLOAD_HOST "mkdir -p $destdir"
+ scp -pr $STAGING_DIR/* $UPLOAD_USER@$UPLOAD_HOST:/$destdir
fi
if [ $UPLOAD_METHOD = ftp ]; then
lftp -c "open $UPLOAD_HOST; mkdir $destdir"
# ---------------------------------------------------------------------------
set -o errexit
-set -o xtrace
+#set -o xtrace
echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"