repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ruby: bump version to 2.4.1
[buildroot-gz.git]
/
support
/
dependencies
/
check-host-lzip.sh
blob
4f8a2ba3de5b32858567c0bd47589ca8a40b8a31
1
#!/bin/sh
2
3
candidate
=
"
$1
"
4
5
lzip
=
`which
$candidate
2>/dev/null`
6
if
[ !
-x
"
$lzip
"
];
then
7
lzip
=
`which lzip 2>/dev/null`
8
if
[ !
-x
"
$lzip
"
];
then
9
# echo nothing: no suitable lzip found
10
exit
1
11
fi
12
fi
13
14
echo
$lzip