From 723891166cf587acc94977b1215daa5d008842fa Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 27 Jun 2012 11:24:51 +0200 Subject: [PATCH] Pass overwrite to tar for web site upload --- id-deb-build/id-upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4