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)"