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

Submitted by Detlef Vollmann on Sept. 4, 2011, 9:21 p.m.

Details

Message ID 1315171293-11256-2-git-send-email-dv@vollmann.ch
State New, archived
Headers show

Commit Message

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

Patch hide | download patch | download mbox

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