From a831b86df5f1728acfd6bbf676b61cb962029a4d Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 3 Sep 2011 22:52:40 -0400 Subject: use correct variable to reference compression method Signed-off-by: Dave Reisner --- mkinitcpio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkinitcpio b/mkinitcpio index d8ea31f..b4c6959 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -276,7 +276,7 @@ if [[ -z $GENIMG ]]; then else COMPRESSION=${optcompress:-$COMPRESSION} if ! type -P "$COMPRESSION" >/dev/null; then - die "Unable to locate compression method: %s" "$optcompress" + die "Unable to locate compression method: %s" "$COMPRESSION" fi msg "Starting build: %s" "$KERNELVERSION" -- cgit v1.2.3-24-g4f1b