def METHOD_NAME(manifest_file):
    """
    Updates any $ARCH entry with the architecture in the manifest
    """
    arch = arch_translate[platform.machine()]
    with open(manifest_file) as f:
        s = f.read()
    with open(manifest_file, "w") as f:
        s = s.replace("$ARCH", arch)
        f.write(s)