all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Cannot Generate loaddefs.el on Solaris
Date: Mon, 22 Sep 2003 19:34:46 -0400	[thread overview]
Message-ID: <20030922233446.GC26980@fencepost> (raw)
In-Reply-To: <545y8wg27f5.fsf@icd.teradyne.com>

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."

  reply	other threads:[~2003-09-22 23:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 12:45 Build Failure with Latest CVS sources Vin Shelton
2003-09-22 15:02 ` Cannot Generate loaddefs.el on Solaris Vin Shelton
2003-09-22 23:34   ` Miles Bader [this message]
2003-09-23  1:14     ` Vin Shelton
2003-09-23  1:31       ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030922233446.GC26980@fencepost \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.