]> git.pld-linux.org Git - packages/iceweasel.git/commitdiff
- randomize display
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 18 May 2015 19:43:31 +0000 (21:43 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 18 May 2015 19:43:31 +0000 (21:43 +0200)
iceweasel.spec

index 4db5d5ac12f31ef0523654d709f616daaee40795..ace815f45fe7b123028bbf4d24e2e6577de749c6 100644 (file)
@@ -325,10 +325,11 @@ ac_add_options --with-x
 EOF
 
 %if %{with pgo}
-/usr/bin/Xvfb :100 &
+D=$(( RANDOM % (200 - 100 + 1 ) + 5 ))
+/usr/bin/Xvfb :${D} &
 XVFB_PID=$!
 [ -n "$XVFB_PID" ] || exit 1
-export DISPLAY=:100
+export DISPLAY=:${D}
 %{__make} -j1 -f client.mk profiledbuild \
        DESTDIR=obj-%{_target_cpu}/dist \
        CC="%{__cc}" \
This page took 0.034133 seconds and 4 git commands to generate.