Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 2011.4.0.0-rc1
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.541 kb
#! /usr/bin/env python
import os
import os.path
import fileinput
# Change this to the appropriate version.
DIR = "E:\\ghc\\ghc-7.0.4\\lib\\package.conf.d"
FILES = [os.path.join(DIR, f) for f in os.listdir(DIR) if f.endswith("conf")]
for line in fileinput.FileInput(FILES, inplace=1):
print line.replace("E:\\\\Program Files (x86)\\\\Haskell",
"E:\\\\Documents and Settings\\\\hatemachine\\\\Application Data" \
Jump to Line
Something went wrong with that request. Please try again.