diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-04 14:32:41 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-04 14:32:41 +0100 |
commit | ed2af2e82dbcfccb7392e9fbc3f837de1594c103 (patch) | |
tree | b7f56fe38963c79ecf6fc7698200daf4d93873ae /scripts/embedded_scripts | |
parent | c3cfcc92422f6e525073226cdbfdcb00ab1e7dc7 (diff) | |
download | busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.tar.gz busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.tar.bz2 busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.zip |
build system: detect if build host has no bzip2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/embedded_scripts')
-rwxr-xr-x | scripts/embedded_scripts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/embedded_scripts b/scripts/embedded_scripts index aa7bf3e8a..205ac591a 100755 --- a/scripts/embedded_scripts +++ b/scripts/embedded_scripts | |||
@@ -23,6 +23,12 @@ if test $? != 0; then | |||
23 | exit 1 | 23 | exit 1 |
24 | fi | 24 | fi |
25 | 25 | ||
26 | bzip2 </dev/null >/dev/null | ||
27 | if test $? != 0; then | ||
28 | echo 'bzip2 is not installed' | ||
29 | exit 1 | ||
30 | fi | ||
31 | |||
26 | custom_scripts="" | 32 | custom_scripts="" |
27 | if [ -d "$custom_loc" ] | 33 | if [ -d "$custom_loc" ] |
28 | then | 34 | then |