[Scons-dev] Found and fixed bug regarding variant_dir on cygwin

Bogdan Tenea btenea at ixiacom.com
Sun Sep 29 09:34:38 EDT 2013


Hello,

At this moment variant_dir option does not work on Cygwin due to the fact that it does not copy headers (I reported this on scons-users a few days ago).
After some digging into the source code I found that for headers it makes the path upper case for source dir listing, but not for the file to be copied that is checked versus the dir listing.
The problem cand be fixed with a simple modification in FS.py on line 1844 (function entry_exists_on_disk) by extending the condition to also include cygwin:

if sys.platform == 'win32' or sys.platform == 'cygwin':

Hoping this will get included in the next version :)

Regards,

Bogdan Tenea
Senior Software Engineer II
Ixia RO Stack Manager Dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20130929/e98b6935/attachment.htm>


More information about the Scons-dev mailing list