From c50fd1dc7d48203abb18a5b8ec59b38b901638cb Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 6 Feb 2013 15:08:22 -0500 Subject: Bug in previous commit: Check the absolute path, not the relative 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]) -- cgit v0.10.1