#5894: spkg/install shoud use #!/usr/bin/env bash
--------------------------+-------------------------------------------------
 Reporter:  mabshoff      |       Owner:  mabshoff  
     Type:  defect        |      Status:  assigned  
 Priority:  critical      |   Milestone:  sage-3.4.2
Component:  distribution  |    Keywords:            
--------------------------+-------------------------------------------------
Changes (by mabshoff):

  * status:  new => assigned


Old description:

> On a rather minimal Ubuntu 8.04 system:
> {{{
> [03:52am] pamcd: ufff, thats almost what i have available
> [03:52am] pamcd: ./install: 352: time: not found
> <SNIP>
> [03:56am] mabs: Ok, can you edit spkg/install ?
> [03:56am] mabs: Change #!/bin/sh to #!/usr/bin/env bash and restart?
> [03:57am] pamcd: ok, restarting
> [03:58am] pamcd: what is that change for?
> [03:58am] mabs: Well, it runs the shell script via bash instead of the
> default shell.
> [03:58am] mabs: For most systems /bin/sh is in effect bash, but that has
> been changing.
> [03:59am] pamcd: the default shell misses some needed functionallity?
> [03:59am] mabs: On non-linux systems /bin/sh is often the original shell.
> [03:59am] mabs: Well, it seems to not have a build in time command in
> your case.
> [03:59am] pamcd: btw, it seems to have solved the problem: compiling
> }}}

New description:

 On a rather minimal Ubuntu 8.04 system missing a time command and not
 having a build in one for /bin/sh:
 {{{
 [03:52am] pamcd: ufff, thats almost what i have available
 [03:52am] pamcd: ./install: 352: time: not found
 <SNIP>
 [03:56am] mabs: Ok, can you edit spkg/install ?
 [03:56am] mabs: Change #!/bin/sh to #!/usr/bin/env bash and restart?
 [03:57am] pamcd: ok, restarting
 [03:58am] pamcd: what is that change for?
 [03:58am] mabs: Well, it runs the shell script via bash instead of the
 default shell.
 [03:58am] mabs: For most systems /bin/sh is in effect bash, but that has
 been changing.
 [03:59am] pamcd: the default shell misses some needed functionallity?
 [03:59am] mabs: On non-linux systems /bin/sh is often the original shell.
 [03:59am] mabs: Well, it seems to not have a build in time command in your
 case.
 [03:59am] pamcd: btw, it seems to have solved the problem: compiling
 }}}

 Cheers,

 Michael

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5894#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to