diff options
author | Marius Kintel <marius@kintel.net> | 2013-02-06 20:08:22 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-02-06 20:08:22 (GMT) |
commit | c50fd1dc7d48203abb18a5b8ec59b38b901638cb (patch) | |
tree | 8c9f3acdcedcf540f9f1a9b01ca44f3b76ac968c | |
parent | f7fd58de8aea0e2336e0c1216452254462203dde (diff) |
Bug in previous commit: Check the absolute path, not the relative
-rwxr-xr-x | scripts/macosx-sanity-check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/macosx-sanity-check.py b/scripts/macosx-sanity-check.py index 22c2af0..4927de9 100755 --- a/scripts/macosx-sanity-check.py +++ b/scripts/macosx-sanity-check.py @@ -107,10 +107,10 @@ if __name__ == '__main__': deps = find_dependencies(dep) assert(deps) for d in deps: - if not re.match(executable_path, d): + absfile = lookup_library(d) + if not re.match(executable_path, absfile): print "Error: External dependency " + d sys.exit(1) - absfile = lookup_library(d) if absfile == None: print "Not found: " + d print " ..required by " + str(processed[dep]) |