[Mesa-dev] [PATCH 32/37] egl/egl-symbols-check: do not mandate bash
Emil Velikov
emil.l.velikov at gmail.com
Thu Feb 23 17:13:59 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
There's nothing bash specific in the script.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/egl/egl-symbols-check | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/egl/egl-symbols-check b/src/egl/egl-symbols-check
index 409867fab6..4c5232cb6c 100755
--- a/src/egl/egl-symbols-check
+++ b/src/egl/egl-symbols-check
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
FUNCS=$(nm -D --defined-only ${1-.libs/libEGL.so} | grep -o "T .*" | cut -c 3- | while read func; do
( grep -q "^$func$" || echo $func ) <<EOF
--
2.11.0
More information about the mesa-dev
mailing list