view src/gftp.in @ 854:2c94567f9a53

2006-11-16 Brian Masney <masneyb@gftp.org> * lib/config_file.c (write_comment) - added patch that fixes writing the comments to the config file. In some cases, an extra # was placed at the beginning of a line. It could cause some settings to be not processed. (closes #339029) (from Morita Sho <bugreport_01@morita-inc.co.jp>)
author masneyb
date Fri, 17 Nov 2006 02:50:34 +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