From: Kern Sibbald Date: Fri, 1 Mar 2013 08:05:57 +0000 (+0100) Subject: Tweak upload X-Git-Tag: Release-7.0.0~45 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=909d370ef0333a295593051fce9856936d0950ba;p=bacula%2Fdocs Tweak upload --- diff --git a/docs/upload b/docs/upload index 08983786..391ca74e 100755 --- a/docs/upload +++ b/docs/upload @@ -19,7 +19,7 @@ sendit() echo " " echo "Sending: $1/$i" echo "To: $2/$i" - rsync -avz --delete --progress $1/$i/ $2/$i/ + rsync -avz --delete --progress $1/$i/$i/ $2/$i/$i/ rsync -avz --delete --progress $1/$i/$i.pdf $2/$i/ done } @@ -27,15 +27,3 @@ sendit() dest=bacula:/var/www/bacula/5.2.x-manuals/${lang} echo "Sending to $dest" sendit $src $dest - -dest=bsweb:/var/www/docs/5.2.x-manuals/${lang} -echo "Sending to $dest" -sendit $src $dest - -destdir=/home/frs/repo/htmldocs/${lang}/${ver} -dest=bsweb:${destdir} -ssh bsweb <