Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use bash for prereq install file #12621

Closed
jhpalmieri opened this issue Mar 2, 2012 · 7 comments
Closed

use bash for prereq install file #12621

jhpalmieri opened this issue Mar 2, 2012 · 7 comments

Comments

@jhpalmieri
Copy link
Member

The script prereq-0.9-install starts with the line

#!/bin/sh

As a result, when installing prereq on a Solaris machine, I see this:

Starting prerequisite check.
Machine: SunOS mark2 5.10 Generic_127111-01 sun4u sparc SUNW,Sun-Blade-2500
base/prereq-0.9-install: !: not found
checking for a BSD-compatible install... ./install-sh -c

I think this is because of the line

if ! [ -f "$SAGE_ROOT/spkg/base/$TARGET.tar" ]; then

in prereq-0.9-install. Using bash to run this script instead of sh fixes the problem. So I propose using bash for this script.

This will be fixed in #12112.

Depends on #4949

Component: build

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/12621

@jhpalmieri
Copy link
Member Author

Attachment: trac_12621-prereq.patch.gz

@jhpalmieri
Copy link
Member Author

Dependencies: #4949

@jhpalmieri

This comment has been minimized.

@jhpalmieri
Copy link
Member Author

comment:2

Attachment: trac_12621-prereq.v2.patch.gz

@jhpalmieri

This comment has been minimized.

@jhpalmieri jhpalmieri changed the title use bash for prereq and bzip2 install files use bash for prereq install file Mar 5, 2012
@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link

Reviewer: Jeroen Demeyer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants