← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2455: 1. Fixes an issue, indicated here http://www.mail-archive.com/yade-dev@xxxxxxxxxxxxxxxxxxx/msg051...

 

------------------------------------------------------------
revno: 2455
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: yade
timestamp: Fri 2010-10-01 13:56:04 +0200
message:
  1. Fixes an issue, indicated here http://www.mail-archive.com/yade-dev@xxxxxxxxxxxxxxxxxxx/msg05162.html ; combined-files in SConstruct during Debian build.
modified:
  SConstruct


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct	2010-09-30 18:00:41 +0000
+++ SConstruct	2010-10-01 11:56:04 +0000
@@ -646,7 +646,7 @@
 
 
 ### check if combinedFiles is different; if so, force rebuild of all of them
-if not os.path.exists(combinedFiles) or combinedFilesMd5!=md5.md5(open(combinedFiles).read()).hexdigest():
+if os.path.exists(combinedFiles) and combinedFilesMd5!=md5.md5(open(combinedFiles).read()).hexdigest():
 	print 'Rebuilding combined files, since the md5 has changed.'
 	combs=[l.split(':')[0] for l in open(combinedFiles)]
 	for c in combs: