From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Cannot Generate loaddefs.el on Solaris Date: Mon, 22 Sep 2003 19:34:46 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030922233446.GC26980@fencepost> References: <545adbgj6wg.fsf@icd.teradyne.com> <545y8wg27f5.fsf@icd.teradyne.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064273935 9632 80.91.224.253 (22 Sep 2003 23:38:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2003 23:38:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 23 01:38:53 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1aGb-00044e-00 for ; Tue, 23 Sep 2003 01:38:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1aMc-0004ji-00 for ; Tue, 23 Sep 2003 01:45:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1aF7-0000ex-LO for emacs-devel@quimby.gnus.org; Mon, 22 Sep 2003 19:37:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A1aDA-0000bJ-5a for emacs-devel@gnu.org; Mon, 22 Sep 2003 19:35:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A1aD5-0000Yu-Be for emacs-devel@gnu.org; Mon, 22 Sep 2003 19:35:15 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1aD4-0000Ya-W4 for emacs-devel@gnu.org; Mon, 22 Sep 2003 19:35:14 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.20) id 1A1aCc-0007lg-Tx; Mon, 22 Sep 2003 19:34:46 -0400 Original-To: Vin Shelton Content-Disposition: inline In-Reply-To: <545y8wg27f5.fsf@icd.teradyne.com> User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16563 On Mon, Sep 22, 2003 at 11:02:06AM -0400, Vin Shelton wrote: > /bin/sh on Solaris has stricter syntax wrt the 'test' command than > bash does. The ! (negation) operator cannot appear before the 'test' > command. > - if ! test -r $(lisp)/loaddefs.el; then \ > + if test ! -r $(lisp)/loaddefs.el; then \ Note that the ! in the former case is actually a (posix) shell construct, not a test operator. I'm not entirely comfortable with the ! test operator either, but a bit of googling suggests that it's OK even on ancient systems, as long as the following expression is not `weird.' (I always test my scripts for portability on sunos because sun seems to have last updated some of their utilities in about 1985!) Thanks, -Miles -- "Though they may have different meanings, the cries of 'Yeeeee-haw!' and 'Allahu akbar!' are, in spirit, not actually all that different."