[16137] in Athena Bugs
athdir
daemon@ATHENA.MIT.EDU (Joseph Sokol-Margolis)
Wed Aug 12 05:46:24 1998
To: bugs@MIT.EDU
Date: Wed, 12 Aug 1998 05:46:21 EDT
From: Joseph Sokol-Margolis <seph@MIT.EDU>
I was recently building some software for a locker, and after reading
lockers(7) and athdir(1) thought that using athdir would be the right
thing to use with configure:
./configure --bindir=`athdir ${LOCKER} bin`
However, athdir returns "" if the directory does not exist, this is
suboptimal for makefiles, since I'd like the build to generate which
ever directories is needs. so instead I used:
./configure --bindir=${LOCKER}/arch/${ATHENA_SYS}/bin
It felt a little more klunky to me. I was if there might be a way to
get athdir to return "the default" value even if that directory
doesn't exist, or if there's a "more correct" way of doing this.
seph