view src/gftp.in @ 872:d7cbef177dfc

2007-2-4 Brian Masney <masneyb@gftp.org> * lib/sshv2.c (sshv2_start_login_sequence) - when checking for EINTR/EGAIN, only stop trying to connect if the current operation was to be cancelled. * lib/protocols.c (_do_sleep) - don't check for EINTR/EAGAIN. Allow a signal to interrupt the timer.
author masneyb
date Sun, 04 Feb 2007 21:25:46 +0000
parents 0fcc6468a0af
children
line wrap: on
line source

#!/bin/sh

prefix=@prefix@
exec_prefix=@exec_prefix@

if [ "$DISPLAY " != " " ] && [ -f @bindir@/gftp-gtk ]; then
	exec @bindir@/gftp-gtk ${1+"$@"}
elif [ -f @bindir@/gftp-text ]; then
	exec @bindir@/gftp-text ${1+"$@"}
else
	echo "Error: Can't find gFTP binaries installed in @bindir@"
fi