Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
6cb43d23
Commit
6cb43d23
authored
Jan 12, 2018
by
Jens Korinth
Browse files
Improve libmpfr seeking
parent
8a660e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.sh
View file @
6cb43d23
if
which locate
>
/dev/null 2>&1
;
then
if
which locate
>
/dev/null 2>&1
;
then
LIBMPFR
=
`
locate
-l1
libmpfr
`
LIBMPFR
=
`
locate libmpfr
|
grep
'\.so\.'
|
sort
-nr
|
head
-1
`
else
else
LIBMPFR
=
`
find /usr
-name
'libmpfr*so*'
2>/dev/null |
head
-1
`
LIBMPFR
=
`
find /usr
-name
'libmpfr*so*'
2>/dev/null |
sort
-nr
|
head
-1
`
fi
fi
if
[
-n
"
$BASH_VERSION
"
]
;
then
if
[
-n
"
$BASH_VERSION
"
]
;
then
...
...
Jens Korinth
@jk
mentioned in commit
17f0d672
·
Mar 05, 2018
mentioned in commit
17f0d672
mentioned in commit 17f0d67240ebf5d7e1d0be9162d272b04256c47d
Toggle commit list
Write
Preview
Supports
Markdown
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