sbin/sync/sync_theend_venv
changeset 7 fb450f78bfd1
parent 6 9e29d68d48f1
child 8 fd17983fd0bd
--- a/sbin/sync/sync_theend_venv	Fri Aug 24 17:44:08 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#!/usr/bin/env bash
-set -e
-if [ -d ~/tmp/theend_V$1 ]; then
-    rm -fr ~/tmp/theend_V$1;
-fi
-
-hg archive -r V$1 ~/tmp/theend_V$1
-
-#text2unix ~/tmp/theend_V$1
-
-if [ -d ~/tmp/theend_V$1 ]; then
-    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/theend_V$1/virtualenv/ web.iri.centrepompidou.fr:projects/theend/virtualenv
-+ core
-P web/env/***
-P setup/env/***
-EOT
-    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/theend_V$1/src/ldt/ web.iri.centrepompidou.fr:projects/theend/ldt
-+ core
-EOT
-fi
-
-if [ -d ~/tmp/theend_V$1 ]; then
-    echo "Deleting temp export"
-    rm -fr ~/tmp/theend_V$1;
-fi