[arch-projects] [mkinitcpio][PATCH 24/26] use correct variable to reference compression method

Dave Reisner d at falconindy.com
Mon Sep 26 21:22:25 EDT 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 mkinitcpio |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mkinitcpio b/mkinitcpio
index 5419d9b..a10ea43 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -275,7 +275,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"
-- 
1.7.6.4



More information about the arch-projects mailing list