view web/upload.sh @ 2884:f9a21c9891a0

Fix #658: Bug fix: reads of uninitialized data https://github.com/BestImageViewer/geeqie/pull/658
author Rinat Ibragimov <ibragimovrinat@mail.ru>
date Mon, 21 Jan 2019 11:54:49 +0000
parents 41ff0bdf1c66
children
line wrap: on
line source

#!/bin/sh

if [ "${PWD##*/}" != "web" ] ; then
  echo $0 must be called from directory \"web\"
  exit 1;
fi

# later we can include user manual
# ln -sf ../doc

chmod -R a+rX .
rsync --archive \
   --verbose \
   --partial \
   --progress \
   --copy-links \
   --keep-dirlinks \
   --delete \
   --exclude "*.bak" \
   --exclude .xvpics \
   --exclude .thumbnails \
   --exclude .wml \
   --exclude "*.wml" \
   --exclude "*~" \
   --exclude .gitignore \
   --exclude Makefile \
   --exclude .wmlrc \
   --exclude .wmkrc \
   --exclude sync \
   --exclude "*.sh" \
   --exclude ".*.swp" \
   ./ tschil:/srv/www/geeqie.org/