Commit 905e4c61 authored by Daniel Povey's avatar Daniel Povey
Browse files

Modifying doc/README with method of uploading to sourceforge that works when...

Modifying doc/README with method of uploading to sourceforge that works when their shell access is down.
parent 575a2bd3
......@@ -44,15 +44,18 @@ if [[ $(hostname -f) == *.clsp.jhu.edu ]]; then
echo "**Now copying to sourceforge**"
# Next copy to sourceforge.
scp html.tar.gz danielpovey@web.sourceforge.net:/home/project-web/kaldi/htdocs/
#may have to do this:
ssh danielpovey,kaldi@shell.sourceforge.net create
# Running the shell command on sourceforge, from svatava:
echo 'cd /home/project-web/kaldi/htdocs/; rm -rf html;
tar -xzf html.tar.gz; for x in html/*; do mv $x .; done ' \
| ssh danielpovey,kaldi@shell.sourceforge.net bash
if true; then # use method that works when their shell access is down.
rm -rf htdocs # make sure it's not left over from before.
mv html htdocs
scp -r htdocs danielpovey@web.sourceforge.net:/home/project-web/kaldi/
mv htdocs html
else
scp html.tar.gz danielpovey@web.sourceforge.net:/home/project-web/kaldi/htdocs/
ssh danielpovey,kaldi@shell.sourceforge.net create
echo 'cd /home/project-web/kaldi/htdocs/; rm -rf html;
tar -xzf html.tar.gz; for x in html/*; do mv $x .; done ' \
| ssh danielpovey,kaldi@shell.sourceforge.net bash
fi
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment