Use convenience function for finding duplicate builds.
[build-farm.git] / build_test.fns
index 50a72267eddf9a176793446b09814c76864eff42..b7649bde3db5bbfd80774fe7ebc21ccba4831a39 100644 (file)
@@ -13,6 +13,7 @@ SMBD_MAXTIME=18000 # 5 hours for a samba process ..
 MAXMEM=100000
 RUN_FROM_BUILD_FARM=yes
 export RUN_FROM_BUILD_FARM
+export MAXTIME SMBD_MAXTIME
 
 deptrees="";
 
@@ -196,7 +197,7 @@ lock_file() {
                fi
 
                if test -f "$lckf"; then
-                       test $machine = $host || {
+                       test x$machine = x$host || {
                                echo "lock file $lckf is valid for other machine $machine"
                                return 1
                        }