view src/gftp.in @ 402:57087926bf03

2004-2-16 Brian Masney <masneyb@gftp.org> * src/gtk/view_dialog.c - call mkstemps() to create the temporary file. This is so that the extension of the file will be preserved so that syntax highlighting will still work (from Aurelien Jarno <aurelien@aurel32.net>) * lib/Makefile.am lib/gftp.h lib/mkstemps.c po/POTFILES.in - added mksteps() from the GNU C Library (from Aurelien Jarno <aurelien@aurel32.net>)
author masneyb
date Tue, 17 Feb 2004 00:49:17 +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