From fe9a0b262b479dba4db89e97a12071289e023287 Mon Sep 17 00:00:00 2001 From: Michal Mielewczyk Date: Wed, 24 Jul 2019 04:03:19 -0400 Subject: [PATCH] configure: Prevent race condition while preparing header file. Signed-off-by: Michal Mielewczyk --- configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure b/configure index e818304..4773cb9 100755 --- a/configure +++ b/configure @@ -66,10 +66,8 @@ generate_header() { for file in $SECOND; do CONF=$(cat ${CONFIG_FILE} | grep $(basename $file) | cut -d' ' -f2) - source $file "apply" "$CONF" "$file" & + source $file "apply" "$CONF" "$file" done - - wait } if [ -z "$1" ]; then