force node to chir to $root
[spider.git] / perl / cluster.pl
index b942b44f9515ee034e22679e9a328c40f2f0820c..db05800f9c305216aa06bcec7e707930ffb71c96 100755 (executable)
@@ -90,6 +90,7 @@ BEGIN {
        
 }
 
+
 use DXVars;
 use SysVar;
 
@@ -478,6 +479,8 @@ sub setup_start
        #
        #############################################################
 
+       chdir $root;
+       
        $starttime = $systime = time;
        $systime_days = int ($systime / 86400);
        $systime_daystart = $systime_days * 86400;