fpwd command from setup.sh now prints site name instead of ip

This commit is contained in:
Radim Kolar 2009-09-15 17:10:54 +02:00
parent 588f449894
commit e9c22df0fd
2 changed files with 9 additions and 1 deletions

View File

@ -32,6 +32,8 @@ Version NEXT
fsetup: No host given! instead of fhost:
fsetupcmd got -l option. It lists all known fsp servers collected
from .fspsites files.
fpwd command from setup.sh now prints site name instead of ip
address if possible.
Version 2.8.1b25 - 10 Sep 2009
GNU autotools build system was entirely replaced by SCons

View File

@ -42,7 +42,13 @@ _fmore() { fcatcmd "$@" | more ; set +f;}
alias fmore='set -f;_fmore'
_fpro() { fprocmd "$@"; set +f;}
alias fpro='set -f;_fpro'
fpwd() { echo $FSP_DIR on $FSP_HOST port $FSP_PORT ;}
fpwd() {
if [ ! -z $FSP_NAME ]; then
host=$FSP_NAME;
else
host=$FSP_HOST;
fi
echo $FSP_DIR on $host port $FSP_PORT ;}
_frm() { frmcmd "$@"; set +f ;}
alias frm='set -f;_frm'
_frmdir() { frmdircmd "$@"; set +f ;}