From: Dave R. <ld...@dr...> - 2005-01-02 16:32:06
|
On Sun, 2005-01-02 at 09:09 -0600, Brian Mastenbrook wrote: > I don't know what kind of strange system you're running that has=20 > install-info in /sbin :-) It's in /usr/bin on mine, and I think on most=20 > Linux systems it's in /usr/sbin (which makes no sense really as the=20 > script can install info files to any prefix). Generally I think the=20 > user should be responsible for making sure that install.sh is run with=20 > an appropriate PATH that allows it to find everything it needs, but if=20 > you feel otherwise, perhaps some kind of search through common=20 > directories would be in order. Hey, Brian, Hmmm... I'm running Fedora Core 3, so it's hardly an obscure distro. ;-) I agree with you that hardcoding it is non-ideal. Often root doesn't set much of a path, however, for security reasons (to avoid trojaned binaries being installed and executed by mistake). Given the variation in where install-info lives, however, probably the best thing here would be to leave the path as it is and just have the installer do a "PATH=3D/sbin:$PATH sh install.sh" for the install. The other fix, to correct giving the DIR parameter to the install-info utility should still be there though. If somebody just wants to hand edit the patch and apply, that's probably easiest. --=20 Dave Roberts <ld...@dr...> |