summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-09-04 04:52:40 +0200
committerDave Reisner <dreisner@archlinux.org>2011-10-01 05:31:39 +0200
commita831b86df5f1728acfd6bbf676b61cb962029a4d (patch)
treebf3b1feb0e4777b5bb3e7450d03939855234d7af
parent4a092cef75982e5bc4eb2e8c3f26016bdeec8e9a (diff)
downloadmkinitcpio-a831b86df5f1728acfd6bbf676b61cb962029a4d.tar.gz
mkinitcpio-a831b86df5f1728acfd6bbf676b61cb962029a4d.tar.xz
use correct variable to reference compression method
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-xmkinitcpio2
1 files changed, 1 insertions, 1 deletions
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"