rsync au lieu de mv

This commit is contained in:
Rodolphe Quiedeville 2003-06-29 21:20:55 +00:00
parent 0181c0e2c1
commit b180498cda

View File

@ -25,8 +25,8 @@ FILE=dolibarr-0.1.6
tar:
rm -f dolibarr-*.tar.gz*
mkdir $(FILE)
mv doc/ htdocs/ mysql/ misc/ COPY* http* INSTALL scripts/ templates/ tar.exclude pgsql/ $(FILE)
tar --exclude-from $(FILE)/tar.exclude -cvvf $(FILE).tar $(FILE)
rsync -av doc/ htdocs/ mysql/ misc/ COPY* http* INSTALL scripts/ templates/ pgsql/ $(FILE)/
tar --exclude-from tar.exclude -cvvf $(FILE).tar $(FILE)/
gzip $(FILE).tar
md5sum $(FILE).tar.gz > $(FILE).tar.gz.md5sum
scp $(FILE).tar.gz* rodolphe.quiedeville.org:/home/www/rodolphe.quiedeville.org/htdocs/projets/dolibarr/dl/