Fix uninitialized perl variable error output
authorTodd Lyons <tlyons@exim.org>
Mon, 3 Nov 2014 21:20:47 +0000 (13:20 -0800)
committerTodd Lyons <tlyons@exim.org>
Mon, 3 Nov 2014 21:20:47 +0000 (13:20 -0800)
run_build.pl

index 9e68d8d05a9cae8591af780380d07aa3d30e955c..1e0e621cedf3625f747fba75396798f9f96b4b4c 100755 (executable)
@@ -564,7 +564,7 @@ elsif (!$from_source)
 
     # If config file changed, force a rebuild
     ($current_config) = (stat $orig_dir.'/'.$buildconf)[9];
-    if ($current_config > $last_config)
+    if (defined $current_config && $current_config > $last_config)
     {
       $last_status = 0;
       set_last('config',$current_config) unless $nostatus;