Merge pull request #71 from mmichal10/race-condition-in-configure
configure: Prevent race condition while preparing header file.
This commit is contained in:
commit
d01c26d629
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