Skip to content

Commit

Permalink
quick fix for TIMOB-10865
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 6, 2012
1 parent fcb0f72 commit 25b4fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/iphone/compiler.py
Expand Up @@ -645,7 +645,7 @@ def add_compiled_resources(source,target):
compiled_targets[ext].append(entry)
else:
compiled_targets[ext]=[entry]
if not write_routing:
else:
# only copy if different filesize or doesn't exist
if not os.path.exists(to_) or os.path.getsize(from_)!=os.path.getsize(to_):
print "[DEBUG] copying: %s to %s" % (from_,to_)
Expand Down

2 comments on commit 25b4fcb

@mstepanov
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't work for "Run on device" case

@farfromrefug
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it was a dirty fix as i wasnt understanding all of it. I saw your pull request. Will apply it quickly on my branch
Thanks for commenting!

Please sign in to comment.