econf: update configure/config.{sub,guess} atomically to avoid races
authorMike Frysinger <vapier@gentoo.org>
Tue, 17 Dec 2013 23:23:12 +0000 (18:23 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 17 Dec 2013 23:27:04 +0000 (18:27 -0500)
commit8d4d077d5775c4f1dac724d5e6fbb7cf14db1920
treedcd0b30c19c9857fed1a56478828ef9f6fe5baa0
parent167d1f23a54861055dce756ae39c012533a5e7f0
econf: update configure/config.{sub,guess} atomically to avoid races

Use $BASHPID which will be unique even in subshells.

URL: https://bugs.gentoo.org/487478
bin/phase-helpers.sh