aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/minstall.py
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-08-12 21:13:51 +0900
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2024-02-11 18:28:53 +0530
commited1a1d567ae178253b0c80228ea223e172a335d9 (patch)
tree649e18ca17d5cbfaa8a975d349c96bc70f0ba1f0 /mesonbuild/minstall.py
parent10e269271d9fb6cbb69afa91bcf0cfc03e214bca (diff)
downloadmeson-ed1a1d567ae178253b0c80228ea223e172a335d9.zip
meson-ed1a1d567ae178253b0c80228ea223e172a335d9.tar.gz
meson-ed1a1d567ae178253b0c80228ea223e172a335d9.tar.bz2
Print a proper sentence when reporting script failure
Diffstat (limited to 'mesonbuild/minstall.py')
-rw-r--r--mesonbuild/minstall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py
index 643adcd..a82be5e 100644
--- a/mesonbuild/minstall.py
+++ b/mesonbuild/minstall.py
@@ -700,11 +700,11 @@ class Installer:
try:
rc = self.run_exe(i, localenv)
except OSError:
- print(f'FAILED: install script \'{name}\' could not be run, stopped')
+ print(f'FAILED: install script \'{name}\' could not be run.')
# POSIX shells return 127 when a command could not be found
sys.exit(127)
if rc != 0:
- print(f'FAILED: install script \'{name}\' exit code {rc}, stopped')
+ print(f'FAILED: install script \'{name}\' failed with exit code {rc}.')
sys.exit(rc)
def install_targets(self, d: InstallData, dm: DirMaker, destdir: str, fullprefix: str) -> None: