Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
d0b94a76
"git@developer.sourcefind.cn:OpenDAS/dlib.git" did not exist on "7a0447472aed0298498b2b53364ecbd1e39c1788"
Commit
d0b94a76
authored
Mar 30, 2018
by
Davis King
Browse files
Fixed cmake downloading script
parent
e41fc8ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
dlib/travis/get-old-cmakes.sh
dlib/travis/get-old-cmakes.sh
+7
-6
No files found.
dlib/travis/get-old-cmakes.sh
View file @
d0b94a76
...
@@ -3,15 +3,11 @@
...
@@ -3,15 +3,11 @@
# Exit if anything fails.
# Exit if anything fails.
set
-eux
set
-eux
## download CMAKE to get colored output
if
[[
!
-x
cmake/2.8/bin/cmake
||
!
-x
cmake/3.1/bin/cmake
||
!
-x
cmake/3.5/bin/cmake
]]
;
then
if
[[
!
-x
cmake/3.5/bin/cmake
&&
-d
cmake
]]
;
then
rm
-rf
cmake
rm
-rf
cmake
fi
fi
if
[[
!
-d
cmake
]]
;
then
CMAKE_URL
=
"http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz"
mkdir
-p
cmake/3.5
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake/3.5
if
[[
!
-d
cmake
]]
;
then
CMAKE_URL
=
"http://www.cmake.org/files/v2.8/cmake-2.8.12-Linux-i386.tar.gz"
CMAKE_URL
=
"http://www.cmake.org/files/v2.8/cmake-2.8.12-Linux-i386.tar.gz"
mkdir
-p
cmake/2.8
mkdir
-p
cmake/2.8
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake/2.8
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake/2.8
...
@@ -19,4 +15,9 @@ if [[ ! -d cmake ]]; then
...
@@ -19,4 +15,9 @@ if [[ ! -d cmake ]]; then
CMAKE_URL
=
"http://www.cmake.org/files/v3.1/cmake-3.1.2-Linux-x86_64.tar.gz"
CMAKE_URL
=
"http://www.cmake.org/files/v3.1/cmake-3.1.2-Linux-x86_64.tar.gz"
mkdir
-p
cmake/3.1
mkdir
-p
cmake/3.1
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake/3.1
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake/3.1
CMAKE_URL
=
"http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz"
mkdir
-p
cmake/3.5
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake/3.5
fi
fi
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