New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item11835 (05 Jul 2015, GeorgeClark)Edit Attach

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
Reported By: JozefMojzis
Waiting For:
Last Change By: GeorgeClark
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

ItemTemplate edit

Summary Assume that grep, fgrep are found on the search path, don't hardcode location in LocalSite.cfg.
ReportedBy JozefMojzis
Codebase 1.1.5
SVN Range
AppliesTo Engine
Component Configure
Priority Low
CurrentState Closed
TargetRelease major
ReleasedIn 2.0.0
Topic revision: r6 - 05 Jul 2015, GeorgeClark - This page was cached on 21 Mar 2018 - 20:07.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License