sbin/sync/sync_ldt_platform_venv
changeset 0 ecdfc63274bf
child 11 3903840d6720
equal deleted inserted replaced
-1:000000000000 0:ecdfc63274bf
       
     1 #!/usr/bin/env bash
       
     2 set -e
       
     3 if [ -d ~/tmp/blinkster_V$1 ]; then
       
     4     rm -fr ~/tmp/blinkster_V$1;
       
     5 fi
       
     6 
       
     7 hg archive -r V$1 ~/tmp/blinkster_V$1
       
     8 
       
     9 #text2unix ~/tmp/blinkster_V$1
       
    10 
       
    11 if [ -d ~/tmp/blinkster_V$1 ]; then
       
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/blinkster_V$1/sbin/ web.iri.centrepompidou.fr:project/blinkster/sbin
       
    13 + core
       
    14 EOT
       
    15 fi
       
    16 
       
    17 if [ -d ~/tmp/blinkster_V$1 ]; then
       
    18     echo "Deleting temp export"
       
    19     rm -fr ~/tmp/blinkster_V$1;
       
    20 fi