From: Adam Dickmeiss Date: Wed, 27 Jun 2012 09:24:51 +0000 (+0200) Subject: Pass overwrite to tar for web site upload X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=723891166cf587acc94977b1215daa5d008842fa;p=git-tools-moved-to-github.git Pass overwrite to tar for web site upload --- diff --git a/id-deb-build/id-upload.sh b/id-deb-build/id-upload.sh index f6c08fe..671ae84 100755 --- a/id-deb-build/id-upload.sh +++ b/id-deb-build/id-upload.sh @@ -25,7 +25,7 @@ fi (cd doc && make ${PROD}.pdf index.html) cp NEWS doc/ scp ${TAR} ftp.indexdata.dk:/home/ftp/pub/${PROD}/ -tar cz --exclude=.git -f - dox doc|ssh website "cd /var/www/software/${PROD}; tar xzf -" +tar cz --exclude=.git -f - dox doc|ssh website "cd /var/www/software/${PROD}; tar x --overwrite -z -f -" # Local Variables: # mode:shell-script # sh-indentation: 2