annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
1 #!/bin/sh
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
2
325
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
3 prefix=@prefix@
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
4 exec_prefix=@exec_prefix@
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
5
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
6 if [ "$DISPLAY " != " " ] && [ -f @bindir@/gftp-gtk ]; then
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
7 exec @bindir@/gftp-gtk ${1+"$@"}
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
8 elif [ -f @bindir@/gftp-text ]; then
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
9 exec @bindir@/gftp-text ${1+"$@"}
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
10 else
325
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
11 echo "Error: Can't find gFTP binaries installed in @bindir@"
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
12 fi
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
13