Source

dissonance / dissonance / fix_ecj.py

The default branch has multiple heads

Full commit
import fileinput, sys

paths = ('./common_resources/make/depends.properties', './target/hdk/build/ant/depends.properties')
find = 'eclipse.base=http://download.eclipse.org/'
replace = 'eclipse.base=http://localhost/'

for path in paths:
    for line in fileinput.input(path, inplace=1):
        sys.stdout.write(line.replace(find, replace))