[cig-commits] commit:

Mercurial hg at geodynamics.org
Mon Nov 24 11:58:32 PST 2008


changeset:   50:46a08fb61bb1
user:        LukeHodkinson
date:        Wed Mar 05 01:52:51 2008 +0000
files:       StgSCons
description:
Maintaining compatibility with the few
most recent versions of SCons.


diff -r 7dd372a113f1 -r 46a08fb61bb1 StgSCons
--- a/StgSCons	Wed Mar 05 01:37:58 2008 +0000
+++ b/StgSCons	Wed Mar 05 01:52:51 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