annotate web/upload.sh @ 1808:6c61c246506b

Fix a small issue with strptime strptime do not initialize all fields. So the undefined fields could end in crash later on.
author mow
date Sun, 28 Feb 2010 15:17:12 +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/