blas: do not report an empty line for every checked symbol
This commit is contained in:
parent
d1bedf9d39
commit
68bd1c8552
@ -72,7 +72,7 @@ stdenv.mkDerivation {
|
||||
|
||||
nm -an "$libblas" | cut -f3 -d' ' > symbols
|
||||
for symbol in ${toString blasFortranSymbols}; do
|
||||
grep "^$symbol_$" symbols || { echo "$symbol" was not found in "$libblas"; exit 1; }
|
||||
grep -q "^$symbol_$" symbols || { echo "$symbol" was not found in "$libblas"; exit 1; }
|
||||
done
|
||||
|
||||
cp -L "$libblas" $out/lib/libblas${canonicalExtension}
|
||||
|
Loading…
Reference in New Issue
Block a user