diff options
-rw-r--r-- | mesonbuild/minstall.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py index 98bf5c8..9ac5a29 100644 --- a/mesonbuild/minstall.py +++ b/mesonbuild/minstall.py @@ -321,6 +321,7 @@ class Installer: abs_dst = os.path.join(dst_dir, filepart) if os.path.isdir(abs_dst): print('Tried to copy file %s but a directory of that name already exists.' % abs_dst) + sys.exit(1) parent_dir = os.path.dirname(abs_dst) if not os.path.isdir(parent_dir): os.mkdir(parent_dir) |