aboutsummaryrefslogtreecommitdiffstats
path: root/src/gbm/gbm-symbols-check
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-22 19:56:42 +0000
committerEmil Velikov <[email protected]>2017-03-10 14:12:48 +0000
commitf7e7708d752bcf9500d1a730ae7b69c45a5c50d6 (patch)
treede9450522507a461ca8827d7795ef2d6a44583b2 /src/gbm/gbm-symbols-check
parent5a0e4f4837aac98b4cf3ebc60115c2b6432809e0 (diff)
gbm/gbm-symbols-check: do not mandate bash
Analogous to previous commit. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Andreas Boll <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gbm/gbm-symbols-check')
-rwxr-xr-xsrc/gbm/gbm-symbols-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gbm/gbm-symbols-check b/src/gbm/gbm-symbols-check
index 7ff78ab4004..81da1e07932 100755
--- a/src/gbm/gbm-symbols-check
+++ b/src/gbm/gbm-symbols-check
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
FUNCS=$(nm -D --defined-only ${1-.libs/libgbm.so} | grep -o "T .*" | cut -c 3- | while read func; do
( grep -q "^$func$" || echo $func ) <<EOF