annotate src/gftp.in @ 289:5f66f09e5194

2003-10-17 Brian Masney <masneyb@gftp.org> * lib/misc.c (insert_commas) - if _GNU_SOURCE is defined, instead of using my builtin function for formatting numbers, use glibc's %'ld (or %'lld) format to print the numbers out. This is more portable for other locales.
author masneyb
date Sat, 18 Oct 2003 14:54:53 +0000
parents 8b1883341c6f
children 0fcc6468a0af
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
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
3 if [ "$DISPLAY " != " " ] && [ -f @prefix@/bin/gftp-gtk ]; then
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
4 exec @prefix@/bin/gftp-gtk ${1+"$@"}
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
5 elif [ -f @prefix@/bin/gftp-text ]; then
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
6 exec @prefix@/bin/gftp-text ${1+"$@"}
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
7 else
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
8 echo "Error: Can't find gFTP binaries installed in @prefix@/bin"
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
9 fi
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
10