From 0b278f6dd34a9672c16b893a89414b718802a2b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Tue, 9 Oct 2018 12:34:26 +0200 Subject: Fix gen-mech-list.sh on Solaris / Bourne Shell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `cmd` is more compatible than $(cmd). The shell is "sh (Schily Bourne Shell) version 2013/01/14 a+ (i386-pc-solaris2.9)" Signed-off-by: Tim Rühsen --- src/gen-mech-list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen-mech-list.sh b/src/gen-mech-list.sh index b8596aceba..15cecd916b 100755 --- a/src/gen-mech-list.sh +++ b/src/gen-mech-list.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -HEADER=$(pkg-config --cflags-only-I p11-kit-1|awk '{print $1}'|sed 's/-I//g') +HEADER=`pkg-config --cflags-only-I p11-kit-1|awk '{print $1}'|sed 's/-I//g'` HEADER="${HEADER}/p11-kit/pkcs11.h" echo "const char *mech_list[] = {" -- cgit v1.2.1