summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2016-01-11 23:15:31 +0100
committerJoakim Sindholt <opensource@zhasha.com>2016-01-11 23:15:31 +0100
commit1fd67dac7203decfdf4ca0106835a127edb1297b (patch)
tree245841837dadb7b6d4f31cf8fdb0268069a8ebd5
parent1b02dd450f6f78ead67414ff0cc066ade872f33b (diff)
silence nm errors
-rw-r--r--bin/p9l.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/p9l.sh b/bin/p9l.sh
index 5968f06..6fa88d1 100644
--- a/bin/p9l.sh
+++ b/bin/p9l.sh
@@ -125,7 +125,7 @@ fi
autolinks() {
for f in ${FILES[@]}
do
- nm "$f" | grep '__p9l_autolink_' | while read ln
+ nm "$f" 2>/dev/null | grep '__p9l_autolink_' | while read ln
do
echo "$ln" | sed -e's/^.*\s\+__p9l_autolink_\(.\+\)$/\1/'
done