diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-11-07 21:31:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-11-07 21:31:22 +0000 |
commit | 3b3fec6d96e09a9469220d6ec48d24ca64c636b1 (patch) | |
tree | 1cb11b6c80696293169f26e1d094a5030a9ad72f /configure | |
parent | c87f2b1ba757fbed3fb5c8015cc690c723f61b93 (diff) | |
download | mandoc-3b3fec6d96e09a9469220d6ec48d24ca64c636b1.tar.gz |
The sh(1) "test" builtin on Solaris 10 doesn't have -e,
even though that's required by POSIX.
Use -w and -r, that's just as good.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,8 +16,8 @@ set -e -[ -e config.log ] && mv config.log config.log.old -[ -e config.h ] && mv config.h config.h.old +[ -w config.log ] && mv config.log config.log.old +[ -w config.h ] && mv config.h config.h.old # Output file descriptor usage: # 1 (stdout): config.h, Makefile.local @@ -102,7 +102,7 @@ INSTALL_DATA= # --- manual settings from configure.local ----------------------------- -if [ -e ./configure.local ]; then +if [ -r ./configure.local ]; then echo "configure.local: reading..." 1>&2 echo "configure.local: reading..." 1>&3 cat ./configure.local 1>&3 |