diff --git a/scripts/build-local.py b/scripts/build-local.py index 23c760cf..3d91a0b9 100755 --- a/scripts/build-local.py +++ b/scripts/build-local.py @@ -164,6 +164,8 @@ def interrupt_handler(_signum, _frame): distro = 'fedora' elif 'openSUSE' in url: distro = 'opensuse' + else: + raise RuntimeError(f"URL ('{url}') was not handled?") cfg_str = cfg_str.replace(url, distro) specific_output_dir = Path(output_dir, toolchain, target_arch, cfg_str) specific_output_dir.mkdir(exist_ok=True, parents=True)