diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2011-01-07 03:45:39 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2011-01-07 04:01:28 +0100 |
commit | 532dd7a3871e389351d115fb19db73532bb6dd5b (patch) | |
tree | 6cb9e80ab8b3e30cc83af41b876dd24cca5b7fc0 /gen_compile.sh | |
parent | genkernel.conf: Allow overriding GK_SHARE from the environment to ease up tes... (diff) | |
download | genkernel-532dd7a3871e389351d115fb19db73532bb6dd5b.tar.gz genkernel-532dd7a3871e389351d115fb19db73532bb6dd5b.tar.bz2 genkernel-532dd7a3871e389351d115fb19db73532bb6dd5b.zip |
Review and fix some -eq and -ne conditionals
This fixes "sh: bad number" with busybox 1.18.1 during activation of mdev.
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-x | gen_compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_compile.sh b/gen_compile.sh index 7bab9e1..1a59dff 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -264,7 +264,7 @@ compile_generic() { eval ${MAKE} ${MAKEOPTS} ${ARGS} ${target} $* >> ${LOGFILE} 2>&1 RET=$? fi - [ "${RET}" -ne '0' ] && + [ ${RET} -ne 0 ] && gen_die "Failed to compile the \"${target}\" target..." unset MAKE |