diff options
author | Graham Wilson <graham@mknod.org> | 2004-08-30 01:34:48 +0000 |
---|---|---|
committer | Graham Wilson <graham@mknod.org> | 2004-08-30 01:34:48 +0000 |
commit | c3a80da98846c21a5d3f32a91669d78774a0aa6a (patch) | |
tree | 72bee6836c468c8527560821cd65618f2c7b115d /dist-tools/uploadfaq | |
parent | fd2543489b53fe34a18b7204d6803bf527c0d198 (diff) | |
download | fetchmail-c3a80da98846c21a5d3f32a91669d78774a0aa6a.tar.gz fetchmail-c3a80da98846c21a5d3f32a91669d78774a0aa6a.tar.bz2 fetchmail-c3a80da98846c21a5d3f32a91669d78774a0aa6a.zip |
Move a handful of scripts (used for releases, testing, etc.) to dist-tools, so that they are not released in the tarball.
svn path=/trunk/; revision=3934
Diffstat (limited to 'dist-tools/uploadfaq')
-rwxr-xr-x | dist-tools/uploadfaq | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dist-tools/uploadfaq b/dist-tools/uploadfaq new file mode 100755 index 00000000..73d29468 --- /dev/null +++ b/dist-tools/uploadfaq @@ -0,0 +1,24 @@ +#!/bin/sh + +version=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <Makefile` +echo "Uploading fetchmail version ${version} FAQ" + +if [ $* ] +then + ../upload $* +else + lftp <<EOF +# First, copy to primary website +open ${WWWHOST} +cd ${WWWDIR}/fetchmail +put fetchmail-FAQ.html +close + +# Next, upload to the ftp site +open locke.ccil.org +cd ~ftp/pub/esr/fetchmail +put FAQ +close +EOF + echo "fetchmail FAQ uploaded" +fi
\ No newline at end of file |