From 91aacb10365bb93572829d9ffa08bd0a823409c6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 30 Aug 2004 23:29:37 +0000 Subject: [PATCH] Fixed bug where file stats were incorrect (malex) --- amxmodx/Makefile.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/Makefile.pl b/amxmodx/Makefile.pl index b4da2f4c..3ce2dec5 100755 --- a/amxmodx/Makefile.pl +++ b/amxmodx/Makefile.pl @@ -184,7 +184,7 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++) if (-e $ofile) { $file_time = (stat($file))[9]; - $ofile_time = (stat($file))[9]; + $ofile_time = (stat($ofile))[9]; if ($file_time > $ofile_time) { print "$gcc\n"; @@ -206,7 +206,7 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++) if (-e $ofile) { $file_time = (stat($file))[9]; - $ofile_time = (stat($file))[9]; + $ofile_time = (stat($ofile))[9]; if ($file_time > $ofile_time) { print "$gcc\n";