Add a meaningful description of what LibScriptSearch now does.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7077 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-06-01 20:49:48 +00:00
parent ded052e7a8
commit c931a83efc
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2003-06-01 Angus Leeming <leeming@lyx.org>
* filetools.h (LibScriptSearch): give the function a meaningful
description of what it now does.
2003-05-30 Angus Leeming <leeming@lyx.org> 2003-05-30 Angus Leeming <leeming@lyx.org>
* filetools.C (LibScriptSearch): make it search for "$$s/" and replace * filetools.C (LibScriptSearch): make it search for "$$s/" and replace

View File

@ -93,10 +93,12 @@ string const
i18nLibFileSearch(string const & dir, string const & name, i18nLibFileSearch(string const & dir, string const & name,
string const & ext = string()); string const & ext = string());
/** Takes a command with arguments as input and tries to see whether /** Takes a command such as "sh $$s/convertDefault.sh file.in file.out"
the command itself can be found in one of the scripts/ directories. * and replaces "$$s/" with the path to the "most important" of LyX's
If it is found, return the command with fully qualified script name, * script directories containing this script. If the script is not found,
either return it unchanged */ * "$$s/" is removed. Executing the command will still fail, but the
* error message will make some sort of sense ;-)
*/
string const LibScriptSearch(string const & command); string const LibScriptSearch(string const & command);
/// ///