diff options
author | Michael Prokop <mika@debian.org> | 2010-07-09 12:53:58 +0200 |
---|---|---|
committer | Michael Prokop <mika@debian.org> | 2010-07-09 12:57:56 +0200 |
commit | 7af6ef47abf2d617fb15ca90966c8020067d4990 (patch) | |
tree | 03c16243d0f08525f2cb08e8307ea70fc010cff0 | |
parent | 7c6221d459e765f6ae8f40361727b72b65c88509 (diff) | |
download | initramfs-tools-7af6ef47abf2d617fb15ca90966c8020067d4990.tar.gz initramfs-tools-7af6ef47abf2d617fb15ca90966c8020067d4990.zip |
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 <mika@debian.org>
-rwxr-xr-x | mkinitramfs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |