[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

whoami may not be in PATH in updatedb (4.1.5)

From: Will Partain
Subject: whoami may not be in PATH in updatedb (4.1.5)
Date: Tue, 24 Apr 2001 18:14:34 +0100

(Probably known, but I'll mention it anyway...)

Line 93 or so of updatedb in 4.1.5 is

PATH=/bin:/usr/bin:${BINDIR}; export PATH

The script goes on to backtick `whoami`, which ends up 'not
found' on at least Solaris systems.  The simplest fix seems
to be to change the line to:

PATH=/bin:/usr/bin:${BINDIR}:/usr/ucb; export PATH

Keep up the good work,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]