Browse Source

Remove the trailing $ which fails to match libraries suffixed .so.*

v1.x
Alex J Burke 12 years ago
parent
commit
8f15f0cd60
  1. 2
      util/has_lib.sh

2
util/has_lib.sh

@ -1,6 +1,6 @@
#!/usr/bin/env bash
has_lib() {
local regex="lib$1.+(so|dylib)$"
local regex="lib$1.+(so|dylib)"
# Try using ldconfig on linux systems
for LINE in `which ldconfig > /dev/null && ldconfig -p 2>/dev/null | grep -E $regex`; do

Loading…
Cancel
Save