annotate src/gftp.in @ 964:e0d9d935cab5

2008-11-29 Brian Masney <masneyb@gftp.org> * configure.in - warning fixes for newer versions of gettext and aclocal
author masneyb
date Sat, 29 Nov 2008 14:03:16 +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