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

login
register
mail settings
Submitter Detlef Vollmann
Date Sept. 4, 2011, 9:21 p.m.
Message ID <1315171293-11256-3-git-send-email-dv@vollmann.ch>
Download mbox | patch
Permalink /patch/10979/
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 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