Lines Matching refs:fn
70 def grepValue(fn, variable):
77 for ln in open(fn, 'r'):
101 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h')
102 for ln in open(fn):
489 def fileContents(fn):
493 return open(fn, 'r').read()
906 for fn in [
914 os.path.join(relative_path, *fn),
915 os.path.join(basedir, "usr", "local", *fn)
954 fn = os.path.join(DEPSRC, os.path.basename(url))
955 verifyThirdPartyFile(url, checksum, fn)
958 fn = os.path.join(curdir, patch)
960 shellQuote(fn),))
965 fn = os.path.join(DEPSRC, os.path.basename(url))
966 verifyThirdPartyFile(url, checksum, fn)
969 fn = os.path.join(curdir, patchscript)
970 if fn.endswith('.bz2'):
971 runCommand('bunzip2 -fk %s' % shellQuote(fn))
972 fn = fn[:-4]
973 runCommand('sh %s' % shellQuote(fn))
974 os.unlink(fn)
1190 for fn in filenames:
1191 if os.path.islink(fn):
1194 # "chmod g+w $fn"
1195 p = os.path.join(dirpath, fn)
1200 if fn in EXPECTED_SHARED_LIBS:
1204 for sl in EXPECTED_SHARED_LIBS[fn]:
1305 for fn in os.listdir(
1307 os.symlink(os.path.join(to_framework, fn),
1308 os.path.join(usr_local_bin, fn))
1388 fn = os.path.join(packageContents, 'PkgInfo')
1389 fp = open(fn, 'w')
1470 for fn in filenames:
1471 if fn.endswith('.pyc') or fn.endswith('.pyo'):
1472 os.unlink(os.path.join(dirpath, fn))
1487 fn = os.path.join(pkgroot, 'PkgInfo')
1488 fp = open(fn, 'w')
1501 for fn in os.listdir('resources'):
1502 if fn == '.svn': continue
1503 if fn.endswith('.jpg'):
1504 shutil.copy(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1506 patchFile(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1621 fn = os.path.join(folder, "License.rtf")
1622 patchFile("resources/License.rtf", fn)
1623 fn = os.path.join(folder, "ReadMe.rtf")
1624 patchFile("resources/ReadMe.rtf", fn)
1625 fn = os.path.join(folder, "Update Shell Profile.command")
1626 patchScript("scripts/postflight.patch-profile", fn)
1627 fn = os.path.join(folder, "Install Certificates.command")
1628 patchScript("resources/install_certificates.command", fn)