Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
modules-linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Common
modules-linux
Commits
f9116507
Commit
f9116507
authored
Jul 09, 2016
by
Pablo Toharia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added bash 4.2
parent
db8ed05c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
installers/bash-4.2.sh
installers/bash-4.2.sh
+17
-0
No files found.
installers/bash-4.2.sh
0 → 100755
View file @
f9116507
#!/bin/bash
export
BASH_VERSION
=
4.2
sudo
apt-get
install
flex bison
cd
$HOME
/opt/src
wget http://ftp.gnu.org/gnu/bash/bash-
${
BASH_VERSION
}
.tar.gz
tar
zxvf bash-
${
BASH_VERSION
}
.tar.gz
cd
bash-
${
BASH_VERSION
}
export
PREFIX
=
$HOME
/opt/bash-
${
BASH_VERSION
}
./configure
--prefix
=
$PREFIX
\
--bindir
=
$PREFIX
/bin
\
--htmldir
=
$PREFIX
/share/doc/bash-
${
BASH_VERSION
}
\
--without-bash-malloc
\
--with-installed-readline
NUM_PROC
=
`
grep
processor /proc/cpuinfo |
wc
-l
`
NUM_JOBS
=
`
echo
$NUM_PROC
- 1 | bc
`
make
-j
$NUM_JOBS
install
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment