aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/embedded_scripts4
-rwxr-xr-xscripts/mkconfigs4
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/embedded_scripts b/scripts/embedded_scripts
index 8407c1f78..88c3a13cb 100755
--- a/scripts/embedded_scripts
+++ b/scripts/embedded_scripts
@@ -23,8 +23,8 @@ if test $? != 0; then
23 exit 1 23 exit 1
24fi 24fi
25 25
26bzip2 </dev/null >/dev/null 26bzip2 </dev/null >/dev/null 2>&1
27if test $? != 0; then 27if test $? = 127; then
28 echo 'bzip2 is not installed' 28 echo 'bzip2 is not installed'
29 exit 1 29 exit 1
30fi 30fi
diff --git a/scripts/mkconfigs b/scripts/mkconfigs
index 1bbf10c3a..9e4be6199 100755
--- a/scripts/mkconfigs
+++ b/scripts/mkconfigs
@@ -33,8 +33,8 @@ if test $? != 0; then
33 echo 'od tool is not installed or cannot accept "-v -b" options' 33 echo 'od tool is not installed or cannot accept "-v -b" options'
34 exit 1 34 exit 1
35fi 35fi
36bzip2 </dev/null >/dev/null 36bzip2 </dev/null >/dev/null 2>&1
37if test $? != 0; then 37if test $? = 127; then
38 echo 'bzip2 is not installed' 38 echo 'bzip2 is not installed'
39 exit 1 39 exit 1
40fi 40fi