|
[Rivet-svn] r2732 - trunkblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Oct 28 22:58:34 BST 2010
Author: buckley Date: Thu Oct 28 22:58:33 2010 New Revision: 2732 Log: Better test before sourcing completion script Modified: trunk/rivetenv.sh.in Modified: trunk/rivetenv.sh.in ============================================================================== --- trunk/rivetenv.sh.in Thu Oct 28 18:21:07 2010 (r2731) +++ trunk/rivetenv.sh.in Thu Oct 28 22:58:33 2010 (r2732) @@ -9,4 +9,6 @@ export TEXMFHOME="@datadir@/Rivet/texmf:$TEXMFHOME" export HOMETEXMF="@datadir@/Rivet/texmf:$HOMETEXMF" -if (complete &> /dev/null); then source "@datadir@/Rivet/rivet-completion"; fi +if (complete &> /dev/null); then + test -e "@datadir@/Rivet/rivet-completion" && source "@datadir@/Rivet/rivet-completion" +fi
More information about the Rivet-svn mailing list |