Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37769841
en ru br
ALT Linux repos
S:3.0.1-alt1

Group :: Graphics
RPM: virtualgl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: virtualgl-3.0-alt-nettest.patch
Download


diff --git a/client/vglconnect.in b/client/vglconnect.in
index 3ea7cdb..5bf624d 100644
--- a/client/vglconnect.in
+++ b/client/vglconnect.in
@@ -50,7 +50,7 @@ usage()
 	echo "-g = Use gsissh from Globus Toolkit to make all SSH connections"
 	echo "-force = Force a new vglclient instance (use with caution)"
 	echo "-bindir <d> = Path in which the VGL executables and scripts are installed on"
-	echo "              the server (default: @CMAKE_INSTALL_DEFAULT_PREFIX@/bin).  Can also be set"
+	echo "              the server (default: /usr/bin).  Can also be set"
	echo "              with the VGL_BINDIR environment variable on the client."
 	echo
	exit $1
@@ -54,7 +54,7 @@ usage()
 }
 
 if [ -z $VGL_BINDIR ]; then
-	VGL_BINDIR=@CMAKE_INSTALL_DEFAULT_PREFIX@/bin
+	VGL_BINDIR=/usr/bin
 fi
 
 while [ $# -gt 0 ]
@@ -113,7 +113,7 @@ fi
 
 if [ $VGLTUNNEL = 1 ]; then
 	echo Making preliminary SSH connection to find a free port on the server ...
-	REMOTEPORT=`$SSHCMD ${1+"$@"} -x "$VGL_BINDIR/nettest -findport && $VGL_BINDIR/vgllogin -check"`
+	REMOTEPORT=`$SSHCMD ${1+"$@"} -x "$VGL_BINDIR/vgl_nettest -findport && $VGL_BINDIR/vgllogin -check"`
 	if [ $? -ne 0 -o "$REMOTEPORT" = "" ]; then
 		echo "[VGL] ERROR: The server does not appear to have VirtualGL 2.1 or later"
 		echo "[VGL]    installed."
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin