autobuild: fixed the --tail option for new log locations
[sfrench/samba-autobuild/.git] / script / autobuild.py
index f1e29a7a83bb4095cc100d51641eea9dbf722b24..6f1484533471004b6b45eefedce22adb7df7625c 100755 (executable)
@@ -226,7 +226,7 @@ class buildlist:
     def start_tail(self):
         cwd = os.getcwd()
         cmd = "tail -f *.stdout *.stderr"
-        os.chdir(testbase)
+        os.chdir(gitroot)
         self.tail_proc = Popen(cmd, shell=True)
         os.chdir(cwd)