annotate web/upload.sh @ 1770:1e4e74cf5fad

Spanish translation was updated. Thanks to Redy Rodriguez.
author zas_
date Fri, 13 Nov 2009 18:37:31 +0000
parents 08e1522af78e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1712
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
1 #!/bin/sh
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
2
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
3 if [ "${PWD##*/}" != "web" ] ; then
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
4 echo $0 must be called from directory \"web\"
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
5 exit 1;
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
6 fi
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
7
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
8 # later we can include user manual
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
9 # ln -sf ../doc
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
10
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
11 echo -n "SF username: "
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
12 read username
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
13
08e1522af78e added project web page under version control
nadvornik
parents:
diff changeset
14 rsync -avP -C --copy-links --exclude "*.sh" --exclude "Makefile*" -e ssh ./ $username,geeqie@web.sourceforge.net:htdocs/