Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adapt copy-build-to-server script for new server

  • Loading branch information...
commit 067caf9635435367af21ec2bac6cae46debe8423 1 parent e7ee0d5
@davidswelt authored
Showing with 9 additions and 7 deletions.
  1. +9 −7 aquamacs/build/copy-build-to-server.sh
View
16 aquamacs/build/copy-build-to-server.sh
@@ -5,7 +5,7 @@
GNUNAME=GNU-Emacs-$2.dmg.bz2
NAME=Aquamacs-$1.tar.bz2
-COPYORLINK='cp' # 'ln -s'
+COPYORLINK='ln -s'
CHGLOGSCRIPT=~/aquamacs-web/scripts/push-nightly-changelog.sh
@@ -13,16 +13,16 @@ CHGLOGSCRIPT=~/aquamacs-web/scripts/push-nightly-changelog.sh
SOURCE=`pwd`/builds
LOGPATH=`pwd`
-DEST=~/Sites/Aquamacs
+DEST=dr@cc:Sites/Aquamacs
TMP=/tmp/builds
-cd $DEST
+#cd $DEST
-scp $LOGPATH/cvs-update.log . 2>/dev/null
-scp $LOGPATH/aquamacs-build.log . 2>/dev/null
-scp $LOGPATH/emacs-build.log . 2>/dev/null
+scp $LOGPATH/cvs-update.log $DEST/ 2>/dev/null
+scp $LOGPATH/aquamacs-build.log $DEST/ 2>/dev/null
+scp $LOGPATH/emacs-build.log $DEST/ 2>/dev/null
cp cvs-update.log latest-logs/ 2>/dev/null
rm -r $TMP 2>/dev/null
@@ -48,7 +48,8 @@ if [ -e $TMP/${NAME} ]; then
# update the change log
cd `dirname $CHGLOGSCRIPT` ; $CHGLOGSCRIPT
- cd $DEST
+ #cd $DEST
+ cd -
else
rm -r $TMP
fi
@@ -57,3 +58,4 @@ fi
echo "<HTML style=\"border: none ;\"><META HTTP-EQUIV=\"expires\" CONTENT=\"now\"><link href=\"http://aquamacs.org/iframe.css\" rel=\"stylesheet\" type=\"text/css\" /><BODY style=\"border: none ;\">" >latest.html
cat latest-aquamacs.html latest-emacs.html >>latest.html
echo "</BODY></HTML>" >>latest.html
+rsync -r builds latest-logs latest.html Aquamacs-nightly.tar.bz2 $DEST/
Please sign in to comment.
Something went wrong with that request. Please try again.