annotate web/upload.sh @ 1768:a22c42d36e2e

German translation update
author mow
date Tue, 13 Oct 2009 21:49:42 +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/