Remove all old signature keys for optionals and keys folders.

#815
This commit is contained in:
ViperMaul 2015-04-23 10:16:28 -07:00
parent d1b6dfa5c7
commit 1bf043f9f8

View File

@ -719,6 +719,8 @@ See the make.cfg file for additional build options.
print_green("Created: " + os.path.join(private_key_path, key_name + ".biprivatekey")) print_green("Created: " + os.path.join(private_key_path, key_name + ".biprivatekey"))
print("Removing any old signature keys...") print("Removing any old signature keys...")
purge(os.path.join(module_root, release_dir, project, "Addons"), "^.*\.bisign$","*.bisign") purge(os.path.join(module_root, release_dir, project, "Addons"), "^.*\.bisign$","*.bisign")
purge(os.path.join(module_root, release_dir, project, "optionals"), "^.*\.bisign$","*.bisign")
purge(os.path.join(module_root, release_dir, project, "keys"), "^.*\.bikey$","*.bikey")
else: else:
print_error("Failed to create key!") print_error("Failed to create key!")