From 7af6ef47abf2d617fb15ca90966c8020067d4990 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 9 Jul 2010 12:53:58 +0200 Subject: mkinitramfs: do not execute compress command under quotes If we quote the $compress command then any options are considered as part of the command, resulting in something like: lzop -9: not found while updating a initramfs Closes: #588517 Signed-off-by: Michael Prokop --- mkinitramfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkinitramfs b/mkinitramfs index 713f4e0..0bb7806 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -322,7 +322,7 @@ eval ` find . 4>&-; echo "ec1=$?;" >&4 } | { cpio --quiet --dereference -o -H newc 4>&-; echo "ec2=$?;" >&4 - } | "${compress}" >"${outfile}" + } | ${compress} >"${outfile}" echo "ec3=$?;" >&4 ` if [ "$ec1" -ne 0 ]; then -- cgit v1.2.3