Changeset - 9aef05718257
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-08-03 00:36:03

How are we going to tar/untar? :D
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/slave.c
Show inline comments
 
@@ -126,13 +126,13 @@ char *pathtoblend; // oh, blender-specif
 

	
 

	
 
		_distren_asprintf(&jobdataurl, "http://protofusion.org/distren/stor/job%d.tgz",jobnum);
 

	
 
		curlget(jobdataurl, jobdatapath); // downloads job data from the url to the path stated
 
		_distren_asprintf(&pathtoblend, "%s/job.blend", jobdatapath ); // @TODO: Fix jobdatapath so it knows where to get the file for real :D
 
		exec('tar -xvf job%d.tgz /tmp/distren/job%d',jobnum,jobnum); // somehow
 
		exec('tar -xvf job%d.tgz /tmp/distren/job%d',jobnum,jobnum); // @TODO: How will we do this?
 
		exec_blender(blendjob, pathtoblend, outputpath, framenum); // So this should grab data from the struct? I have no idea. @TODO: Ohnobinki, we should clear this up.
 

	
 
		// Consider placing the following in the exec_blender() function
 
			while(blender_is_running == 1){
 
				tell_the_server(DISTREN_REQUEST_PROGRESS);
 
				fprintf(stderr, "Rendering frame %d in job %d...",framenum,jobnum);
0 comments (0 inline, 0 general)