| author | ymh <ymh.work@gmail.com> |
| Thu, 05 Aug 2010 17:25:14 +0200 | |
| changeset 49 | 92e78a11e8df |
| parent 40 | 35d2eacbb4cb |
| child 74 | c18c0211348b |
| permissions | -rwxr-xr-x |
#!/usr/bin/env bash set -e if [ -d ~/tmp/blinkster_V$1 ]; then rm -fr ~/tmp/blinkster_V$1; fi hg archive -r V$1 ~/tmp/blinkster_V$1 #text2unix ~/tmp/blinkster_V$1 if [ -d ~/tmp/blinkster_V$1 ]; then cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/blinkster_V$1/sbin/ web.iri.centrepompidou.fr:project/blinkster/sbin + core EOT fi if [ -d ~/tmp/blinkster_V$1 ]; then echo "Deleting temp export" rm -fr ~/tmp/blinkster_V$1; fi