mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Invoke prependEnvPath to adjust the PATH only if
lyxrc.path_prefix is not empty. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9619 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
047b8a3abc
commit
20279f0b0c
@ -1,3 +1,8 @@
|
||||
2005-02-13 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* lyx_main.C (init): invoke prependEnvPath to adjust the PATH
|
||||
only if lyxrc.path_prefix is not empty.
|
||||
|
||||
2005-02-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* lyxfunc.C (dispatch): remove a bogus cast (bug 1781)
|
||||
|
@ -361,7 +361,8 @@ void LyX::init(bool gui)
|
||||
lyxrc.print();
|
||||
}
|
||||
|
||||
prependEnvPath("PATH", lyxrc.path_prefix);
|
||||
if (!lyxrc.path_prefix.empty())
|
||||
prependEnvPath("PATH", lyxrc.path_prefix);
|
||||
|
||||
// Having reset the PATH we're now in a position to run configure
|
||||
// if necessary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user