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

Detlef Vollmann dv at vollmann.ch
Sun Sep 4 21:21:33 UTC 2011


From: Detlef Vollmann <dv at vollmann.ch>


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
-- 
1.7.0.4





More information about the Openembedded-devel mailing list