[Durian-svn] [4250] command to tar all the resulting pointcache into shared to for checking before commit .

campbell institute at blender.org
Tue Jun 1 17:47:48 CEST 2010


Revision: 4250
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=4250
Author:   campbell
Date:     2010-06-01 17:47:48 +0200 (Tue, 01 Jun 2010)
Log Message:
-----------
command to tar all the resulting pointcache into shared to for checking before commit.

Modified Paths:
--------------
    pro/scripts/modules/finals_config.py

Modified: pro/scripts/modules/finals_config.py
===================================================================
--- pro/scripts/modules/finals_config.py	2010-06-01 15:44:22 UTC (rev 4249)
+++ pro/scripts/modules/finals_config.py	2010-06-01 15:47:48 UTC (rev 4250)
@@ -64,7 +64,9 @@
     return [
         "mkdir '%s'" % (os.path.dirname(cache_path_to)),
         "mv %s/%s* %s/" % (cache_path_from, point_cache.name, os.path.dirname(cache_path_to)),
-        "svn add %s" % (os.path.dirname(cache_path_to)) ]
+        "svn add %s" % (os.path.dirname(cache_path_to)),
+        "mkdir /shared/sim",
+        "tar cvf /shared/sim/%s.tar %s/*.bphys" % (point_cache.name, os.path.dirname(cache_path_to))]
 
 
 def pointcache_generic_setup(point_cache, frame_start, frame_end, pre_roll=0):



More information about the Durian-svn mailing list