Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
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 = "C:\\ghc\\ghc-7.4.2\\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("C:\\\\Program Files (x86)\\\\Haskell",
"C:\\\\Documents and Settings\\\\hatemachine\\\\Application Data" \
Jump to Line
Something went wrong with that request. Please try again.