From 6aa734be0a931b0cb9d946b6a5de36919e99d8fa Mon Sep 17 00:00:00 2001 From: BtbN Date: Tue, 6 Apr 2021 04:42:56 +0200 Subject: [PATCH] Fix build flag enumeration of scripts.d with subdirs --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 5d6e4df..6de14e8 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,6 @@ #!/bin/bash set -xe +shopt -s globstar cd "$(dirname "$0")" source util/vars.sh @@ -23,7 +24,7 @@ done export FFBUILD_PREFIX="$(docker run --rm "$IMAGE" bash -c 'echo $FFBUILD_PREFIX')" -for script in scripts.d/*.sh; do +for script in scripts.d/**/*.sh; do FF_CONFIGURE+=" $(get_output $script configure)" FF_CFLAGS+=" $(get_output $script cflags)" FF_CXXFLAGS+=" $(get_output $script cxxflags)"