Commit e4e9af95 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Guido Gunther
Browse files

scripts: builddeb: only check if BUILD_LIBC_PKG is set



For linux-next-librem5 releases BUILD_LIBC_PKG doesn't even get set and
if trying to compare, we get:

./scripts/package/builddeb: 204: [: Illegal number:

so only test if it is set.

Signed-off-by: Martin Kepplinger's avatarMartin Kepplinger <martin.kepplinger@puri.sm>
parent 08a62421
Pipeline #56445 passed with stage
in 49 minutes and 32 seconds
......@@ -201,7 +201,7 @@ EOF
chmod 755 "$tmpdir/DEBIAN/$script"
done
if [ "$ARCH" != "um" ] && [ "${BUILD_LIBC_PKG}" -gt 0 ]; then
if [ "$ARCH" != "um" ] && [ -n "${BUILD_LIBC_PKG}" ]; then
deploy_kernel_headers debian/linux-headers
create_package linux-headers-$version debian/linux-headers
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment