configure: Prevent race condition while preparing header file.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
3e5e436dbf
commit
fe9a0b262b
4
configure
vendored
4
configure
vendored
@ -66,10 +66,8 @@ generate_header() {
|
|||||||
|
|
||||||
for file in $SECOND; do
|
for file in $SECOND; do
|
||||||
CONF=$(cat ${CONFIG_FILE} | grep $(basename $file) | cut -d' ' -f2)
|
CONF=$(cat ${CONFIG_FILE} | grep $(basename $file) | cut -d' ' -f2)
|
||||||
source $file "apply" "$CONF" "$file" &
|
source $file "apply" "$CONF" "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
wait
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user