From c931a83efc33d8ff94bb66e14270fc0c6c657183 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Sun, 1 Jun 2003 20:49:48 +0000 Subject: [PATCH] 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 --- src/support/ChangeLog | 5 +++++ src/support/filetools.h | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 89cca0a0ea..659d5d1ca0 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,8 @@ +2003-06-01 Angus Leeming + + * filetools.h (LibScriptSearch): give the function a meaningful + description of what it now does. + 2003-05-30 Angus Leeming * filetools.C (LibScriptSearch): make it search for "$$s/" and replace diff --git a/src/support/filetools.h b/src/support/filetools.h index 21e09e47d6..7baca7d90d 100644 --- a/src/support/filetools.h +++ b/src/support/filetools.h @@ -93,10 +93,12 @@ string const i18nLibFileSearch(string const & dir, string const & name, string const & ext = string()); -/** Takes a command with arguments as input and tries to see whether - the command itself can be found in one of the scripts/ directories. - If it is found, return the command with fully qualified script name, - either return it unchanged */ +/** Takes a command such as "sh $$s/convertDefault.sh file.in file.out" + * and replaces "$$s/" with the path to the "most important" of LyX's + * script directories containing this script. If the script is not found, + * "$$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); /// -- 2.39.2