view src/gftp.in @ 970:4c7a58ef26c1

2008-11-30 Brian Masney <masneyb@gftp.org> * src/gtk/delete_dialog.c - fixed call to g_strdup_printf() where too many arguments were passed in format string. * lib/sslcommon.c - removed duplicate data variable * src/uicommon/gftpui.c (gftpui_common_cmd_help) - fixed call to strncat() where the supplied length was too long
author masneyb
date Sun, 30 Nov 2008 17:55:04 +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