[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: portable tests for symlinks (was patch for autoconf manual)
From: |
Eric Siegerman |
Subject: |
Re: portable tests for symlinks (was patch for autoconf manual) |
Date: |
Tue, 9 Apr 2002 12:00:05 -0400 |
User-agent: |
Mutt/1.2.5i |
On Tue, Apr 09, 2002 at 12:45:52PM +1000, Martin Pool wrote:
> for cmd in test /bin/test /usr/bin/test /usr/ucb/bin/test /usr/ucb/test
Minor quibble: This should probably try the built-in "test"
last; an external binary is preferable (though slower), since it
will work the same regardless of context. The resulting
test-for-symlink command might be used in a context other than
the shell in which configure happens to be run.
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
| | /
"Outlook not so good." That magic 8-ball knows everything!
I'll ask about Exchange Server next.
- Anonymous