Fix relative path being used as install location. Thanks to Andre Borrmann for reporting this.
parent
ee73b35e87
commit
68fb2d640d
|
|
@ -235,14 +235,9 @@ if __name__ == '__main__':
|
|||
|
||||
args = parser.parse_args()
|
||||
|
||||
global_prefix = Path(args.install_dir)
|
||||
|
||||
if not global_prefix.is_absolute():
|
||||
script_dir = Path(__file__).parent.resolve().absolute()
|
||||
global_prefix = script_dir / global_prefix
|
||||
|
||||
global_prefix = Path(args.install_dir).resolve()
|
||||
common.settings.set_global_build_dir(args.build_dir)
|
||||
common.settings.set_global_install_prefix(args.install_dir)
|
||||
common.settings.set_global_install_prefix(global_prefix)
|
||||
common.settings.set_global_rebuild(args.rebuild)
|
||||
|
||||
package = args.package
|
||||
|
|
|
|||
Loading…
Reference in New Issue