The attached patch is needed to get bootstrap.sh working fine on Gentoo/FreeBSD to bootstrap the stage1:
- as readlink -f is not available on *BSD userlands, it uses realpath if present, as for catalyst;
- the sed line used before didn't work as expected with BSD sed, but the only problem was the replacement of a space with a newline, and exg suggested to just add a | tr | on the pipe to do the replacement, without need to identify GNU sed or not.
Created attachment 99028 [details, diff]
Nice and short... excellent... added to CVS