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):
515 def fileContents(fn):
519 return open(fn, 'r').read()
929 for fn in [
937 os.path.join(relative_path, *fn),
938 os.path.join(basedir, "usr", "local", *fn)
977 fn = os.path.join(DEPSRC, os.path.basename(url))
978 verifyThirdPartyFile(url, checksum, fn)
981 fn = os.path.join(curdir, patch)
983 shellQuote(fn),))
988 fn = os.path.join(DEPSRC, os.path.basename(url))
989 verifyThirdPartyFile(url, checksum, fn)
992 fn = os.path.join(curdir, patchscript)
993 if fn.endswith('.bz2'):
994 runCommand('bunzip2 -fk %s' % shellQuote(fn))
995 fn = fn[:-4]
996 runCommand('sh %s' % shellQuote(fn))
997 os.unlink(fn)
1188 for fn in filenames:
1189 if os.path.islink(fn):
1192 # "chmod g+w $fn"
1193 p = os.path.join(dirpath, fn)
1198 if fn in EXPECTED_SHARED_LIBS:
1202 for sl in EXPECTED_SHARED_LIBS[fn]:
1303 for fn in os.listdir(
1305 os.symlink(os.path.join(to_framework, fn),
1306 os.path.join(usr_local_bin, fn))
1386 fn = os.path.join(packageContents, 'PkgInfo')
1387 fp = open(fn, 'w')
1468 for fn in filenames:
1469 if fn.endswith('.pyc') or fn.endswith('.pyo'):
1470 os.unlink(os.path.join(dirpath, fn))
1485 fn = os.path.join(pkgroot, 'PkgInfo')
1486 fp = open(fn, 'w')
1499 for fn in os.listdir('resources'):
1500 if fn == '.svn': continue
1501 if fn.endswith('.jpg'):
1502 shutil.copy(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1504 patchFile(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1615 fn = os.path.join(folder, "License.rtf")
1616 patchFile("resources/License.rtf", fn)
1617 fn = os.path.join(folder, "ReadMe.rtf")
1618 patchFile("resources/ReadMe.rtf", fn)
1619 fn = os.path.join(folder, "Update Shell Profile.command")
1620 patchScript("scripts/postflight.patch-profile", fn)
1621 fn = os.path.join(folder, "Install Certificates.command")
1622 patchScript("resources/install_certificates.command", fn)