[2/2] stage-manager: allow for upper case in package names

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

Details

Message ID 1315171293-11256-3-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 6deceef..0261e71 100755
--- a/bin/stage-manager-opkg-build
+++ b/bin/stage-manager-opkg-build
@@ -118,7 +118,7 @@  You probably want to chown these to a system user: " >&2
 	disallowed_filename=`disallowed_field Filename`
 	[ "$?" -ne 0 ] && PKG_ERROR=1
 
-	if echo $pkg | grep '[^a-z0-9.+-]'; then
+	if echo $pkg | grep '[^A-Za-z0-9.+-]'; then
 		echo "*** Error: Package name $pkg contains illegal characters, (other than [a-z0-9.+-])" >&2
 		PKG_ERROR=1;
 	fi