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
package/python-pyparsing: bump version to 2.1.9
[buildroot-gz.git]
/
support
/
dependencies
/
check-host-xzcat.sh
blob
10f1c4562a5dc9e642bc8ff91c3bc66802bde313
1
#!/bin/sh
2
3
candidate
=
"
$1
"
4
5
xzcat
=
`which
$candidate
2>/dev/null`
6
if
[ !
-x
"
$xzcat
"
];
then
7
xzcat
=
`which xzcat 2>/dev/null`
8
if
[ !
-x
"
$xzcat
"
];
then
9
# echo nothing: no suitable xzcat found
10
exit
1
11
fi
12
fi
13
14
echo
$xzcat