Alleviate race condition: give Xvfb 10 seconds to start up. I hate the fact that EQL build even needs it, but it does run a Qt application to generate some file

svn path=/nixpkgs/trunk/; revision=25168
This commit is contained in:
Michael Raskin 2010-12-17 10:59:09 +00:00
parent 55afe4bc5e
commit b1b17da07c

View File

@ -47,6 +47,7 @@ rec {
TMP=. TMP=.
TMPDIR=. TMPDIR=.
XKB_BINDIR="${xkbcomp}/bin" Xvfb -once -reset -terminate :2 -xkbdir ${xkeyboard_config}/etc/X11/xkb & XKB_BINDIR="${xkbcomp}/bin" Xvfb -once -reset -terminate :2 -xkbdir ${xkeyboard_config}/etc/X11/xkb &
sleep 10;
DISPLAY=:2 ./first_metatype_id DISPLAY=:2 ./first_metatype_id
'') ["doUnpack" "addInputs"]; '') ["doUnpack" "addInputs"];