Lines Matching refs:fn
64 def grepValue(fn, variable):
71 for ln in open(fn, 'r'):
95 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h')
96 for ln in open(fn):
543 def fileContents(fn):
547 return open(fn, 'r').read()
955 for fn in [
963 os.path.join(relative_path, *fn),
964 os.path.join(basedir, "usr", "local", *fn)
1003 fn = os.path.join(DEPSRC, os.path.basename(url))
1004 verifyThirdPartyFile(url, checksum, fn)
1007 fn = os.path.join(curdir, patch)
1009 shellQuote(fn),))
1014 fn = os.path.join(DEPSRC, os.path.basename(url))
1015 verifyThirdPartyFile(url, checksum, fn)
1018 fn = os.path.join(curdir, patchscript)
1019 if fn.endswith('.bz2'):
1020 runCommand('bunzip2 -fk %s' % shellQuote(fn))
1021 fn = fn[:-4]
1022 runCommand('sh %s' % shellQuote(fn))
1023 os.unlink(fn)
1211 for fn in filenames:
1212 if os.path.islink(fn):
1215 # "chmod g+w $fn"
1216 p = os.path.join(dirpath, fn)
1221 if fn in EXPECTED_SHARED_LIBS:
1225 for sl in EXPECTED_SHARED_LIBS[fn]:
1321 for fn in os.listdir(
1323 os.symlink(os.path.join(to_framework, fn),
1324 os.path.join(usr_local_bin, fn))
1404 fn = os.path.join(packageContents, 'PkgInfo')
1405 fp = open(fn, 'w')
1486 for fn in filenames:
1487 if fn.endswith('.pyc') or fn.endswith('.pyo'):
1488 os.unlink(os.path.join(dirpath, fn))
1503 fn = os.path.join(pkgroot, 'PkgInfo')
1504 fp = open(fn, 'w')
1517 for fn in os.listdir('resources'):
1518 if fn == '.svn': continue
1519 if fn.endswith('.jpg'):
1520 shutil.copy(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1522 patchFile(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1633 fn = os.path.join(folder, "License.rtf")
1634 patchFile("resources/License.rtf", fn)
1635 fn = os.path.join(folder, "ReadMe.rtf")
1636 patchFile("resources/ReadMe.rtf", fn)
1637 fn = os.path.join(folder, "Update Shell Profile.command")
1638 patchScript("scripts/postflight.patch-profile", fn)