diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2016-02-20 01:55:04 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-02-20 14:28:28 +0200 |
commit | a15e784851dee647aeaf96f180f4947cd4775bd6 (patch) | |
tree | 37a99c357d87fa443760a29b64331d0f4598d299 | |
parent | 3abd5305c2115e72ad85c71caaa576c696c8cc70 (diff) | |
download | meson-a15e784851dee647aeaf96f180f4947cd4775bd6.zip meson-a15e784851dee647aeaf96f180f4947cd4775bd6.tar.gz meson-a15e784851dee647aeaf96f180f4947cd4775bd6.tar.bz2 |
meson_install: os.symlink may be implemented and still not work
Requires Administrator access by default to work
-rw-r--r-- | mesonbuild/scripts/meson_install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/meson_install.py b/mesonbuild/scripts/meson_install.py index 7e43efd..792af6c 100644 --- a/mesonbuild/scripts/meson_install.py +++ b/mesonbuild/scripts/meson_install.py @@ -194,7 +194,7 @@ def install_targets(d): except FileNotFoundError: pass os.symlink(os.path.split(fname)[-1], symlinkfilename) - except NotImplementedError: + except (NotImplementedError, OSError): if not printed_symlink_error: print("Symlink creation does not work on this platform.") printed_symlink_error = True |