1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/bin/sh
##
# push.sh
#
# Run this from the $BOWTIE2_HOME/doc/website subdirectory.
#
# Copies the files that comprise the website at
# http://bowtie-bio.sourceforge.net/bowtie2 to sourceforge. You must
# have the right sourceforge privileges to do this. The SF_USER
# environment variable must be set appropriately.
#
[ -z "$SF_USER" ] && echo "Must set SF_USER" && exit 1
[ -z "$BOWTIE_DOCS" ] && echo "Must set BOWTIE_DOCS" && exit 1
scp -r ../style.css *.ssi *.shtml *.html $SF_USER,bowtie-bio@web.sourceforge.net:/home/groups/b/bo/bowtie-bio/htdocs/bowtie2/
|