Subject: Re: "xargs: A: No such file or directory"
To: None <tech-userlevel@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: tech-userlevel
Date: 03/31/2005 14:46:42
| We could go through pkgsrc and privatise all of our definitions, but
| this is the first occurrence I've heard of in nearly 8 years of pkgsrc,
| and I've yet to be convinced of the benefits of such a move. All CBA
| gratefully received.
How about checking that all the commands actually are there?
Something along the lines of
for cmd in LS TAR AWK ... ; do
test -x $(($cmd)) || { echo "Oh my bad, no $cmd..." ; exit 1 }
done
somewhere in bsd.pkg.mk ?
I'm not convinced that 1 incident every 8 years is worth it though.
mjl