[cig-commits] commit: Maintaining compatibility with the few

Mercurial hg at geodynamics.org
Mon Nov 24 11:30:50 PST 2008


changeset:   78:eedec8930fcf
user:        LukeHodkinson
date:        Wed Mar 05 01:52:53 2008 +0000
files:       StgSCons
description:
Maintaining compatibility with the few
most recent versions of SCons.


diff -r 13bb318793a2 -r eedec8930fcf StgSCons
--- a/StgSCons	Wed Mar 05 01:38:00 2008 +0000
+++ b/StgSCons	Wed Mar 05 01:52:53 2008 +0000
@@ -30,7 +30,7 @@ def copy_file(env, dst, src):
     dst = env.norm_path(dst)
     old = os.getcwd()
     os.chdir(env.GetLaunchDir())
-    if not File(os.path.abspath(dst)).current():
+    if not File(os.path.abspath(dst)).is_up_to_date():
         src = env.norm_path(src)
         dst_dir = os.path.dirname(dst)
         if not os.path.exists(dst_dir):



More information about the CIG-COMMITS mailing list