Mercurial > gftp.yaz
view src/gftp.in @ 247:f41650dc896c
2003-8-6 Brian Masney <masneyb@gftp.org>
* lib/misc.c (gftp_build_path) - fixed initial path beginning with //.
(expand_path) - when the path is empty at the end, set it to /. This
would happen for directories like /etc/..
author | masneyb |
---|---|
date | Wed, 06 Aug 2003 20:31:34 +0000 |
parents | 8b1883341c6f |
children | 0fcc6468a0af |
line wrap: on
line source
#!/bin/sh if [ "$DISPLAY " != " " ] && [ -f @prefix@/bin/gftp-gtk ]; then exec @prefix@/bin/gftp-gtk ${1+"$@"} elif [ -f @prefix@/bin/gftp-text ]; then exec @prefix@/bin/gftp-text ${1+"$@"} else echo "Error: Can't find gFTP binaries installed in @prefix@/bin" fi