mailr2637 - /1.2/scons/distrib.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 13, 2006 - 07:34:
Author: bugman
Date: Fri Oct 13 07:33:29 2006
New Revision: 2637

URL: http://svn.gna.org/viewcvs/relax?rev=2637&view=rev
Log:
Fixed a bug in the Scons distribution target functions.

The relax version number variable 'version' which exists in the base 
'sconstruct' module doesn't
exist within the 'scons/distrib.py' module.  It is now passed into the 
construction Environment as
an environmental variable.


Modified:
    1.2/scons/distrib.py

Modified: 1.2/scons/distrib.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/scons/distrib.py?rev=2637&r1=2636&r2=2637&view=diff
==============================================================================
--- 1.2/scons/distrib.py (original)
+++ 1.2/scons/distrib.py Fri Oct 13 07:33:29 2006
@@ -86,10 +86,10 @@
             # Create the file name (without the base directory).
             name = path.join(root, files[i])
             name = name[len(base):]
-            print 'relax-' + version + path.sep + name
+            print 'relax-' + env['RELAX_VERSION'] + path.sep + name
 
             # The archive file name.
-            arcname = 'relax-' + version + path.sep + name
+            arcname = 'relax-' + env['RELAX_VERSION'] + path.sep + name
 
             # Zip archives.
             if env['DIST_TYPE'] == 'zip':




Related Messages


Powered by MHonArc, Updated Fri Oct 13 07:40:05 2006