aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-01-18 23:11:59 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-01-18 23:11:59 +0200
commitab0cc277d19b46f06c5ce9eaaa8d79f9a03445ed (patch)
tree35a5fe2d3f3073021faccf951a5530056b82d7c5 /build.py
parent4f0af86b52f201d097f0205ba2a024b1c66c6862 (diff)
downloadmeson-ab0cc277d19b46f06c5ce9eaaa8d79f9a03445ed.zip
meson-ab0cc277d19b46f06c5ce9eaaa8d79f9a03445ed.tar.gz
meson-ab0cc277d19b46f06c5ce9eaaa8d79f9a03445ed.tar.bz2
After an actual, factual bug report from a user, fixed include_directories so that it checks that the specified directories exist.
Diffstat (limited to 'build.py')
-rw-r--r--build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.py b/build.py
index bedff9e..57fc9ce 100644
--- a/build.py
+++ b/build.py
@@ -86,8 +86,8 @@ class IncludeDirs():
def __init__(self, curdir, dirs, kwargs):
self.curdir = curdir
self.incdirs = dirs
- # Fixme: check that the directories actually exist.
- # Also that they don't contain ".." or somesuch.
+ # Interpreter has validated that all given directories
+ # actually exist.
if len(kwargs) > 0:
raise InvalidArguments('Includedirs function does not take keyword arguments.')