| author | ymh <ymh.work@gmail.com> |
| Thu, 28 Oct 2010 00:37:07 +0200 | |
| changeset 19 | cbc514bab5bf |
| parent 1 | eb9188f2ee4f |
| permissions | -rwxr-xr-x |
#!/usr/bin/env bash set -e if [ -d ~/tmp/dring93_V$1 ]; then rm -fr ~/tmp/dring93_V$1; fi hg archive -r V$1 ~/tmp/dring93_V$1 #text2unix ~/tmp/dring93_V$1 if [ -d ~/tmp/dring93_V$1 ]; then cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/dring93_V$1/sbin/ web.iri.centrepompidou.fr:projects/dring93/sbin + core EOT fi if [ -d ~/tmp/dring93_V$1 ]; then echo "Deleting temp export" rm -fr ~/tmp/dring93_V$1; fi