rpms/eclipse-cdt/devel eclipse-cdt-runtests.sh,1.2,1.3
Andrew Overholt
overholt at fedoraproject.org
Thu Aug 28 16:24:34 UTC 2008
- Previous message (by thread): rpms/sugar-toolkit/F-9 .cvsignore, 1.15, 1.16 sources, 1.16, 1.17 sugar-toolkit.spec, 1.19, 1.20
- Next message (by thread): rpms/sylpheed/devel sylpheed-2.5.0-certsdir.patch, NONE, 1.1 sylpheed-2.5.0-desktop.patch, NONE, 1.1 sylpheed-2.5.0-prefs_common.patch, NONE, 1.1 sylpheed.spec, 1.87, 1.88 sylpheed-2.2.5-prefs_common.patch, 1.1, NONE sylpheed-2.3.1-certsdir.patch, 1.1, NONE sylpheed-2.5.0rc-desktop.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: overholt
Update of /cvs/pkgs/rpms/eclipse-cdt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9047
Modified Files:
eclipse-cdt-runtests.sh
Log Message:
Use a pseudo-random port for VNC
Index: eclipse-cdt-runtests.sh
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-cdt/devel/eclipse-cdt-runtests.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- eclipse-cdt-runtests.sh 28 Aug 2008 14:48:35 -0000 1.2
+++ eclipse-cdt-runtests.sh 28 Aug 2008 16:24:03 -0000 1.3
@@ -86,10 +86,11 @@
setXvnc() {
echo localhost > Xvnc.cfg
- # Pick a high display number. Hopefully this isn't in use.
- $xvnc :57 -screen 1 1024x768x32 -auth Xvnc.cfg -localhost &
+ # Pick a high display number.
+ port=`expr '(' $RANDOM '*' 9 / 32767 ')' + 58`
+ $xvnc :$port -screen 1 1024x768x32 -auth Xvnc.cfg -localhost &
Xvncpid=$!
- DISPLAY=`$HOST`:57
+ DISPLAY=`$HOST`:$port
}
rm $properties
- Previous message (by thread): rpms/sugar-toolkit/F-9 .cvsignore, 1.15, 1.16 sources, 1.16, 1.17 sugar-toolkit.spec, 1.19, 1.20
- Next message (by thread): rpms/sylpheed/devel sylpheed-2.5.0-certsdir.patch, NONE, 1.1 sylpheed-2.5.0-desktop.patch, NONE, 1.1 sylpheed-2.5.0-prefs_common.patch, NONE, 1.1 sylpheed.spec, 1.87, 1.88 sylpheed-2.2.5-prefs_common.patch, 1.1, NONE sylpheed-2.3.1-certsdir.patch, 1.1, NONE sylpheed-2.5.0rc-desktop.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list