equal
deleted
inserted
replaced
131 manifest = open(ReplaceEnvs(mani), "r") |
131 manifest = open(ReplaceEnvs(mani), "r") |
132 le = len(epocroot) |
132 le = len(epocroot) |
133 for line in manifest: |
133 for line in manifest: |
134 line = line.replace("$(HOSTPLATFORM_DIR)", host_platform) |
134 line = line.replace("$(HOSTPLATFORM_DIR)", host_platform) |
135 line = line.replace("./", epocroot+"/").rstrip("\n") |
135 line = line.replace("./", epocroot+"/").rstrip("\n") |
136 # Get rid of newline char and add to dictionary |
|
137 all_files[line] = True |
136 all_files[line] = True |
138 # This bit makes a record of unique folders into a list |
137 # This bit makes a record of unique folders into a list |
139 pos = line.rfind("/", le) |
138 pos = line.rfind("/", le) |
140 while pos > le: # Look through the parent folders |
139 while pos > le: # Look through the parent folders |
141 f = line[:pos] |
140 f = line[:pos] |