unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Use of "set -e -x" in autogen.sh not portable
@ 2002-04-25 15:24 Matthias Koeppe
  2002-04-25 15:29 ` Thien-Thi Nguyen
  2002-04-25 15:35 ` Thien-Thi Nguyen
  0 siblings, 2 replies; 5+ messages in thread
From: Matthias Koeppe @ 2002-04-25 15:24 UTC (permalink / raw)


The use of "set -e -x" in CVS Guile's autogen.sh (line 4) is not
portable.  In Solaris 2.7 /bin/sh, this command assigns "-x" to the
current command line.

I suggest to use 

  set -ex 

instead.

-- 
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Use of "set -e -x" in autogen.sh not portable
  2002-04-25 15:24 Use of "set -e -x" in autogen.sh not portable Matthias Koeppe
@ 2002-04-25 15:29 ` Thien-Thi Nguyen
  2002-04-25 15:35 ` Thien-Thi Nguyen
  1 sibling, 0 replies; 5+ messages in thread
From: Thien-Thi Nguyen @ 2002-04-25 15:29 UTC (permalink / raw)
  Cc: guile-devel

   From: Matthias Koeppe <mkoeppe@mail.Math.Uni-Magdeburg.De>
   Date: Thu, 25 Apr 2002 17:24:10 +0200

   The use of "set -e -x" in CVS Guile's autogen.sh (line 4) [...]

thanks for the tip.  i removed "-x" entirely (but not "-e") for
branch_release-1-6, to be consistent w/ branch_release-1-4 and HEAD.

thi

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Use of "set -e -x" in autogen.sh not portable
  2002-04-25 15:24 Use of "set -e -x" in autogen.sh not portable Matthias Koeppe
  2002-04-25 15:29 ` Thien-Thi Nguyen
@ 2002-04-25 15:35 ` Thien-Thi Nguyen
  2002-04-26 14:54   ` Alexandre Duret-Lutz
  1 sibling, 1 reply; 5+ messages in thread
From: Thien-Thi Nguyen @ 2002-04-25 15:35 UTC (permalink / raw)


see also workbook/build/shell-tips.text.

thi

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Use of "set -e -x" in autogen.sh not portable
  2002-04-25 15:35 ` Thien-Thi Nguyen
@ 2002-04-26 14:54   ` Alexandre Duret-Lutz
  2002-04-26 16:58     ` Thien-Thi Nguyen
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Duret-Lutz @ 2002-04-26 14:54 UTC (permalink / raw)
  Cc: guile-devel

>>> "Thien-Thi" == Thien-Thi Nguyen <ttn@giblet.glug.org> writes:

 Thien-Thi> see also workbook/build/shell-tips.text.

| Probably there are other accumulations of such tips somewhere
| on the net (refs welcome!).

The Autoconf manual has a node named 'Portable Shell
Programming', that gathers such issues.  

Look at it, and you will see how nice it this to have a public
place where all known issues are tracked.  (In clear text:
please submit patches against the Autoconf manual instead of
updating your own list.)
-- 
Alexandre Duret-Lutz


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Use of "set -e -x" in autogen.sh not portable
  2002-04-26 14:54   ` Alexandre Duret-Lutz
@ 2002-04-26 16:58     ` Thien-Thi Nguyen
  0 siblings, 0 replies; 5+ messages in thread
From: Thien-Thi Nguyen @ 2002-04-26 16:58 UTC (permalink / raw)
  Cc: guile-devel

   From: Alexandre Duret-Lutz <duret_g@lrde.epita.fr>
   Date: Fri, 26 Apr 2002 16:54:53 +0200

   The Autoconf manual has a node named 'Portable Shell
   Programming', that gathers such issues.  

   Look at it, and you will see how nice it this to have a public
   place where all known issues are tracked.  (In clear text:
   please submit patches against the Autoconf manual instead of
   updating your own list.)

thanks for the tip.  i'll check for coverage and substitute the small
list w/ a pointer to this info.

in the future, for workbook/ files, feel free to make this kind of
suggestion via patch (i.e., edit locally, post a diff) -- this would
streamline the process a bit and encourage familiarity w/ these tools.

thi

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-26 16:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-25 15:24 Use of "set -e -x" in autogen.sh not portable Matthias Koeppe
2002-04-25 15:29 ` Thien-Thi Nguyen
2002-04-25 15:35 ` Thien-Thi Nguyen
2002-04-26 14:54   ` Alexandre Duret-Lutz
2002-04-26 16:58     ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).