mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Now modules in custom folders can properly declare their copyright.txt.
This commit is contained in:
parent
d999f63cbd
commit
b016f192a4
@ -648,7 +648,12 @@ if selected_platform in platform_list:
|
||||
# Get license path (if present)
|
||||
try:
|
||||
license_file = config.get_license_file()
|
||||
env.module_license_files.append("#" + path + "/" + license_file)
|
||||
|
||||
if not os.path.isabs(path):
|
||||
env.module_license_files.append("#" + path + "/" + license_file)
|
||||
else:
|
||||
env.module_license_files.append(path + "/" + license_file)
|
||||
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user