Patchwork [1/2] stage-manager: fix typo in error message

login
register
mail settings
Submitter Detlef Vollmann
Date Sept. 4, 2011, 9:21 p.m.
Message ID <1315171293-11256-2-git-send-email-dv@vollmann.ch>
Download mbox | patch
Permalink /patch/10981/
State New, archived
Headers show

Comments

Detlef Vollmann - Sept. 4, 2011, 9:21 p.m.
From: Detlef Vollmann <dv@vollmann.ch>

Patch

diff --git a/bin/stage-manager-opkg-build b/bin/stage-manager-opkg-build
index b7be3dc..6deceef 100755
--- a/bin/stage-manager-opkg-build
+++ b/bin/stage-manager-opkg-build
@@ -119,7 +119,7 @@  You probably want to chown these to a system user: " >&2
 	[ "$?" -ne 0 ] && PKG_ERROR=1
 
 	if echo $pkg | grep '[^a-z0-9.+-]'; then
-		echo "*** Error: Package name $name contains illegal characters, (other than [a-z0-9.+-])" >&2
+		echo "*** Error: Package name $pkg contains illegal characters, (other than [a-z0-9.+-])" >&2
 		PKG_ERROR=1;
 	fi