On 22/11/2022 10:07, Frank Steinmetzger wrote:
My scripting skills are minimal at best.  Still, I kinda got what your
script was doing.  Those who have known me for a while understand how
miraculous that is.  ROFL  I did some googling.  It seems to not be able
to find the 'shebang' part.  Sure enough, sh isn't located in /usr/bin
here.  It's in /bin tho.  I edited that line so it can find it.  When I
tried it, it worked but noticed another problem. […]

Well, it would have been boring to provide you with a turn-key solution. 😉
Congrats on getting it working. In my Arch setup, sh is in /usr/bin. A
flexible solution is to use #!/usr/bin/env sh, which looks the command up
before executing it.

Everything should be in /usr/bin. /bin should be a symlink to /usr/bin I believe.

People like to blame that on systemd, but actually I believe the "change" predates systemd, and certainly has nothing whatsoever to do with Lennart.

Most distros (especially systemd ones) are already there, Gentoo is actively migrating in that direction.

And as someone who got bitten by that - writing a makefile (make install) - on Gentoo and then having it blow up on SUSE, that day can't come soon enough.

Cheers,
Wol

Reply via email to