Changeset - c95faed1b3f1
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 16 years ago 2009-08-03 23:37:14
ohnobinki@ohnopublishing.net
fixed mkdir() calls
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/server/slave.c
Show inline comments
 
@@ -157,8 +157,8 @@ if(gotframe ==1)
 
    curlget(urltoTar, pathtoTar); // Downloads the Tar @TODO: add a progressbar
 

	
 
    _distren_asprintf(&outdir, "/tmp/distren/job%d", jobnum); /*< @todo free() */
 
    mkdir("/tmp/distren");
 
    mkdir(outdir);
 
    mkdir("/tmp/distren", 0750);
 
    mkdir(outdir, 0750);
 

	
 
    _distren_asprintf(&tarcmd, "tar -xvf \"%s\" -C \"%s\"", pathtoTar, outdir);
 
    system(tarcmd);
0 comments (0 inline, 0 general)