mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
fix #698
This commit is contained in:
parent
75d2d99239
commit
b0398eb745
@ -184,15 +184,15 @@ function install_automake() {
|
||||
|
||||
function install_libtool() {
|
||||
if [[ ! -f /usr/bin/libtool ]]; then
|
||||
if [[ ! -f libtool-2.4.2.tar.gz ]]; then
|
||||
wget http://mirror.anl.gov/pub/gnu/libtool/libtool-2.4.2.tar.gz
|
||||
if [[ ! -f libtool-2.4.5.tar.gz ]]; then
|
||||
wget http://ftpmirror.gnu.org/libtool/libtool-2.4.5.tar.gz
|
||||
else
|
||||
log "libtool is already downloaded. skipping."
|
||||
fi
|
||||
if [[ ! -d libtool-2.4.2 ]]; then
|
||||
tar -xf libtool-2.4.2.tar.gz
|
||||
if [[ ! -d libtool-2.4.5 ]]; then
|
||||
tar -xf libtool-2.4.5.tar.gz
|
||||
fi
|
||||
pushd libtool-2.4.2
|
||||
pushd libtool-2.4.5
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user