Date: Sat, 13 Sep 2014 11:01:42 +0200 From: Matthias Andree <matthias.andree@gmx.de> To: freebsd-current@freebsd.org Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? Message-ID: <541407F6.3020300@gmx.de> In-Reply-To: <541367D1.8090002@FreeBSD.org> References: <CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg@mail.gmail.com> <541367D1.8090002@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 12.09.2014 um 23:38 schrieb Bryan Drewery: > The proper fix is to fix scripts to be portable and use #! /usr/bin/env > bash rather than /bin/bash. Proper portability means scripting for a POSIX sh, and /bin/sh can handle those scripts. In the majority of cases replacing == by = in test or [ commands suffices. > We install all packages to PREFIX=/usr/local by default. Why should a > bin symlink be an exception? There's no suggestion for symlinking > includes or libraries which also hit users often. We'd need something for fsck and thereabouts though... if /usr is on, for instance, an ext2 file system (which is part of the kernel after all), we need the tools early in the boot process, before /usr is there.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?541407F6.3020300>