-x needs to specify full name, not just command

This commit is contained in:
Gea-Suan Lin
2011-11-20 07:26:38 +08:00
parent 2616247361
commit c802eee515

View File

@@ -33,7 +33,7 @@ export LSCOLORS="gxfxcxdxbxegedabagacad"
export PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH" export PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/ --mirror http://cpan.cpantesters.org/" export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/ --mirror http://cpan.cpantesters.org/"
# #
if [ -x most ]; then if [ -x /usr/local/bin/most -o -x /usr/bin/most ]; then
export PAGER="most" export PAGER="most"
else else
export PAGER="less" export PAGER="less"