From: Emil Velikov Date: Wed, 22 Feb 2017 19:56:42 +0000 (+0000) Subject: gbm/gbm-symbols-check: do not mandate bash X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7e7708d752bcf9500d1a730ae7b69c45a5c50d6;p=mesa.git gbm/gbm-symbols-check: do not mandate bash Analogous to previous commit. Signed-off-by: Emil Velikov Reviewed-by: Andreas Boll Reviewed-by: Eric Engestrom --- 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 ) <