OpenSSH 2.1.1p1 on SCO Unixware 7.1.0
Jim Knoble
jmknoble at pint-stowp.cx
Tue Jun 20 05:32:30 EST 2000
Circa 2000-Jun-19 11:44:17 -0700 schrieb Gary E. Miller:
: I looked it up, -o as you use it is part of the POSIX spec..
: OTOH, SCO does not conform to POSIX.
:
: So the choice is once again "correctness" or "portable".
See below for a portable alternative.
: On Sun, 18 Jun 2000, Damien Miller wrote:
:
: > On Wed, 14 Jun 2000, Gary E. Miller wrote:
: > > This seems to be the problem:
: > >
: > > if test -d "$f" -o -e "$f" ; then
This can also be written:
if (test -d "$f" || test -f "$f"); then
: > > conf_lastlog_location=$f
: > > fi
: > >
: > > test is expecting a "shell option" after the "-o".
: >
: > Ouch. These are used in quite a few places throughout configure and
: > IIRC are in the POSIX standard.
--
jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/
More information about the openssh-unix-dev
mailing list