Lines Matching refs:fn
75 def grepValue(fn, variable):
82 for ln in open(fn, 'r'):
106 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h')
107 for ln in open(fn):
493 def fileContents(fn):
497 return open(fn, 'r').read()
898 for fn in [
906 os.path.join(relative_path, *fn),
907 os.path.join(basedir, "usr", "local", *fn)
946 fn = os.path.join(DEPSRC, os.path.basename(url))
947 verifyThirdPartyFile(url, checksum, fn)
950 fn = os.path.join(curdir, patch)
952 shellQuote(fn),))
957 fn = os.path.join(DEPSRC, os.path.basename(url))
958 verifyThirdPartyFile(url, checksum, fn)
961 fn = os.path.join(curdir, patchscript)
962 if fn.endswith('.bz2'):
963 runCommand('bunzip2 -fk %s' % shellQuote(fn))
964 fn = fn[:-4]
965 runCommand('sh %s' % shellQuote(fn))
966 os.unlink(fn)
1177 for fn in filenames:
1178 if os.path.islink(fn):
1181 # "chmod g+w $fn"
1182 p = os.path.join(dirpath, fn)
1187 if fn in EXPECTED_SHARED_LIBS:
1191 for sl in EXPECTED_SHARED_LIBS[fn]:
1292 for fn in os.listdir(
1294 os.symlink(os.path.join(to_framework, fn),
1295 os.path.join(usr_local_bin, fn))
1375 fn = os.path.join(packageContents, 'PkgInfo')
1376 fp = open(fn, 'w')
1457 for fn in filenames:
1458 if fn.endswith('.pyc') or fn.endswith('.pyo'):
1459 os.unlink(os.path.join(dirpath, fn))
1474 fn = os.path.join(pkgroot, 'PkgInfo')
1475 fp = open(fn, 'w')
1488 for fn in os.listdir('resources'):
1489 if fn == '.svn': continue
1490 if fn.endswith('.jpg'):
1491 shutil.copy(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1493 patchFile(os.path.join('resources', fn), os.path.join(rsrcDir, fn))
1619 fn = os.path.join(folder, "License.rtf")
1620 patchFile("resources/License.rtf", fn)
1621 fn = os.path.join(folder, "ReadMe.rtf")
1622 patchFile("resources/ReadMe.rtf", fn)
1623 fn = os.path.join(folder, "Update Shell Profile.command")
1624 patchScript("scripts/postflight.patch-profile", fn)
1625 fn = os.path.join(folder, "Install Certificates.command")
1626 patchScript("resources/install_certificates.command", fn)