view src/gftp.in @ 470:a68273d9725a

2004-5-16 Brian Masney <masneyb@gftp.org> * src/gtk/gftp-gtk.c src/gtk/gftp-gtk.h src/gtk/transfer.c - fixed detection of SIGCHLD when viewing/editing a file (from Aurelien Jarno <aurelien@aurel32.net>) * src/gtk/gtkui.c - expand the path on the client side when changing the remote directory (i.e. CHDIR /home/.. becomes /home) (from Aurelien Jarno <aurelien@aurel32.net>)
author masneyb
date Sun, 16 May 2004 13:34:02 +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