mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
14
support/dependencies/check-host-lzip.sh
Executable file
14
support/dependencies/check-host-lzip.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
candidate="$1"
|
||||
|
||||
lzip=`which $candidate 2>/dev/null`
|
||||
if [ ! -x "$lzip" ]; then
|
||||
lzip=`which lzip 2>/dev/null`
|
||||
if [ ! -x "$lzip" ]; then
|
||||
# echo nothing: no suitable lzip found
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo $lzip
|
||||
Reference in New Issue
Block a user