From 173bfbf7886608a4a7abbfac6a42ac4bf4a3432d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 20 Sep 2020 16:14:20 +0100 Subject: New upstream version 1.5.0 --- tools/include_check.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/include_check.sh') diff --git a/tools/include_check.sh b/tools/include_check.sh index 9958c9a..e684d0b 100755 --- a/tools/include_check.sh +++ b/tools/include_check.sh @@ -1,5 +1,5 @@ -#!/bin/bash -# +#!/bin/sh + # Copyright (c) 2019 Yubico AB. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. @@ -8,14 +8,14 @@ check() { for f in $(find $1 -maxdepth 1 -name '*.h'); do echo "#include \"$f\"" | \ cc $CFLAGS -Isrc -xc -c - -o /dev/null 2>&1 - echo $f $CFLAGS $? + echo "$f $CFLAGS $?" done } check examples check fuzz check openbsd-compat -CFLAGS=-D_FIDO_INTERNAL check src +CFLAGS="${CFLAGS} -D_FIDO_INTERNAL" check src check src/fido.h check src/fido check tools -- cgit v1.2.3