login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #126 /bin/sh vs /bin/bash scripting inconsistancy revision 4 of 4

1 2 3 4
Editor: alfredo
Time: 2008/10/28 23:57:49 GMT-7
Note:

added:

From alfredo Tue Oct 28 23:57:49 -0700 2008
From: alfredo
Date: Tue, 28 Oct 2008 23:57:49 -0700
Subject: 
Message-ID: <20081028235749-0700@axiom-wiki.newsynthesis.org>

Status: open => fixed somewhere 


Submitted by : (unknown) at: 2007-11-17T21:55:08-08:00 (17 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

In src/algebra/makefile.pamphlet, is a

@ if [ "${NOISE}" == "" ] ; then

construction. ${NOISE} contains -o foo, and /bin/sh (not bash) doesn't like it.

Both /bin/sh (BSD) and /bin/bash like

 @ if [ -z "${NOISE}" ]; then 

which is the functional equivalent.

The result is a boatload of warnings in src/algebra --markm, Fri, 18 Mar 2005 15:30:50 -0600 reply
compiling STRING.spad to STRING.NRLIB
[: -o /home/ports/math/axiom/work/axiom-BSD-1/obj/tmp/trace: unexpected operator
copying STRING.NRLIB to STRING.o
compiling SYMFUNC.spad to SYMFUNC.NRLIB
[: -o /home/ports/math/axiom/work/axiom-BSD-1/obj/tmp/trace: unexpected operator
copying SYMFUNC.NRLIB to SYMFUNC.o
compiling VECTOR2.spad to VECTOR2.NRLIB
[: -o /home/ports/math/axiom/work/axiom-BSD-1/obj/tmp/trace: unexpected operator
copying VECTOR2.NRLIB to VECTOR2.o
compiling ASP1.spad to ASP1.NRLIB
[: -o /home/ports/math/axiom/work/axiom-BSD-1/obj/tmp/trace: unexpected operator
copying ASP1.NRLIB to ASP1.o
compiling ASP10.spad to ASP10.NRLIB
[: -o /home/ports/math/axiom/work/axiom-BSD-1/obj/tmp/trace: unexpected operator
copying ASP10.NRLIB to ASP10.o
compiling ASP24.spad to ASP24.NRLIB

... and so forth

Category: MathAction => building Axiom from source

Fixed in OpenAxiom and Fricas --alfredo, Tue, 28 Oct 2008 23:57:35 -0700 reply

Status: open => fixed somewhere