[15178] in Athena Bugs
Re: sun4 8.1.2: athdir
daemon@ATHENA.MIT.EDU (Mike Barker)
Thu Jun 5 16:46:36 1997
To: Dorothy Bowe <dot@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Thu, 05 Jun 1997 16:03:22 EDT."
<199706052003.QAA23545@pianoforte.MIT.EDU>
Date: Thu, 05 Jun 1997 16:46:34 EDT
From: Mike Barker <mbarker@MIT.EDU>
I think adding -l to your examples may help explain what is happening.
athena% athdir -l -p /mit/1.34 -t bin -s sgi_53
/mit/1.34/arch/sgi_53/bin
/mit/1.34/sgi_53/bin
/mit/1.34/%mbin
athena% athdir -l -p /mit/1.34 -t bin -s sgi_52
/mit/1.34/arch/sgi_52/bin
/mit/1.34/sgi_52/bin
/mit/1.34/%mbin
athena% ls /mit/1.34
OldFiles/ arch/ bin@ src/ sun4bin/
so when you ran on an sgi, it couldn't find any match in the sgi_53
case (including no sgibin), so it returned nothing.
when you ran on a sun4, though, it trickled down to sun4bin, found
that, and reported it.
now, should the last check be for %mbin or for sgibin, since you used
-s sgi_53 to "override" the ATHENA_SYS value?
ah! add -m to your examples to override the machtype...
athena% athdir -l -p /mit/1.34 -t bin -s sgi_53 -m sgi
/mit/1.34/arch/sgi_53/bin
/mit/1.34/sgi_53/bin
/mit/1.34/sgibin
this will DTRT.
so to determine whether bin directories exist for other platforms,
we should really use both the -s and -m options.
Mike