From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 623935bd for ; Sat, 7 Nov 2015 16:31:52 -0500 (EST) Date: Sat, 7 Nov 2015 16:31:52 -0500 (EST) Message-Id: <1783826185453982422.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: The sh(1) "test" builtin on Solaris 10 doesn't have -e, even X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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. Modified Files: -------------- mdocml: configure Revision Data ------------- Index: configure =================================================================== RCS file: /home/cvs/mdocml/mdocml/configure,v retrieving revision 1.35 retrieving revision 1.36 diff -Lconfigure -Lconfigure -u -p -r1.35 -r1.36 --- configure +++ configure @@ -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 -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv