aboutsummaryrefslogtreecommitdiffstats
path: root/upload
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-27 17:06:09 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-27 17:06:09 +0000
commit32e07fdf8b52ce62ec9b898b12a0a79a4fb0c9d4 (patch)
tree3af37220776663d5a2f8d8f5c9e512bcb6d80fbb /upload
parentfd4b74c80b8e312f4b79d87919833f695696221a (diff)
downloadfetchmail-32e07fdf8b52ce62ec9b898b12a0a79a4fb0c9d4.tar.gz
fetchmail-32e07fdf8b52ce62ec9b898b12a0a79a4fb0c9d4.tar.bz2
fetchmail-32e07fdf8b52ce62ec9b898b12a0a79a4fb0c9d4.zip
Use secure copy for upload
svn path=/trunk/; revision=3158
Diffstat (limited to 'upload')
-rwxr-xr-xupload46
1 files changed, 22 insertions, 24 deletions
diff --git a/upload b/upload
index 10770d1d..93de573a 100755
--- a/upload
+++ b/upload
@@ -7,34 +7,32 @@ if [ $* ]
then
../upload $*
else
- lftp <<EOF
# First, copy to primary website
-open ${WWWHOST}
-cd ${WWWDIR}/fetchmail
-put fetchmail-${version}.tar.gz
-put fetchmail-FAQ.html
-put fetchmail-${version}-1.i386.rpm
-put fetchmail-${version}-1.src.rpm
-put fetchmail-features.html
-put NEWS
-put fetchmail-man.html
-put design-notes.html
-put todo.html
-put testservers.html
+dest=esr@${WWWHOST}:${WWWDIR}/fetchmail
+scp fetchmail-${version}.tar.gz $dest
+scp fetchmail-FAQ.html $dest
+scp fetchmail-${version}-1.i386.rpm $dest
+scp fetchmail-${version}-1.src.rpm $dest
+scp fetchmail-features.html $dest
+scp NEWS $dest
+scp fetchmail-man.html $dest
+scp design-notes.html $dest
+scp todo.html $dest
+scp testservers.html $dest
# The following things vary seldom
-#put funny.html
-#put fetchmail.png
-#put bighand.png
-put growth.png
-put timeseries
-put growthplot
+#scp funny.html $dest
+#scp fetchmail.png $dest
+#scp bighand.png $dest
+scp growth.png $dest
+scp timeseries $dest
+scp growthplot $dest
# The following things vary often
-put checksums
-put index.html
-put history.html
-close
-echo "Upload to tuxedo complete"
+scp checksums $dest
+scp index.html $dest
+scp history.html $dest
+echo "Upload to ${WWWVIRTUAL} complete"
+ lftp <<EOF
# Next, upload to Metalab
open -u anonymous,esr@thyrsus.com metalab.unc.edu
cd incoming/Linux