Item11835: Assume that grep, fgrep are found on the search path, don't hardcode location in LocalSite.cfg.
Priority: Low
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: Configure
Branches:
In the Freebsd, the default path to "grep" (egrep, fgrep) is in the
/usr/bin/grep
, not /bin/grep.
The configure script should check the path where find grep 1st times in the $PATH. Now must manually change the values, when runnunig configure 1st times.
--
JozefMojzis - 08 May 2012
We could add
File::Which
to scan the default path, or loop through
File::Spec->path()
ourselves. I'll confirm this, and see if it can be addressed for 1.2.
--
GeorgeClark - 08 May 2012
This is probably needed as part of the Bootstrap, so that foswiki runs on these systems without a LSC.
--
GeorgeClark - 02 Nov 2014
This was fixed by changing the defaults to not include the path. Fosiwki will assume that the egrep / fgrep are found on the default path.
--
GeorgeClark - 08 Dec 2014