[backfire] switch to LuCI v0.10.0 feed
[openwrt-10.03/.git] / tools / ipkg-utils / patches / 150-uppercase_letters.patch
1 --- a/ipkg-build
2 +++ b/ipkg-build
3 @@ -133,7 +133,7 @@ You probably want to chown these to a sy
4         disallowed_filename=`disallowed_field Filename`
5         [ "$?" -ne 0 ] && PKG_ERROR=1
6  
7 -       if echo $pkg | grep '[^a-z0-9.+-]'; then
8 +       if echo $pkg | grep '[^a-zA-Z0-9_.+-]'; then
9                 echo "*** Error: Package name $name contains illegal characters, (other than [a-z0-9.+-])" >&2
10                 PKG_ERROR=1;
11         fi
12 --- a/ipkg-buildpackage
13 +++ b/ipkg-buildpackage
14 @@ -69,7 +69,7 @@ pkg_appears_sane_control() {
15         required_field Maintainer >/dev/null
16         required_field Description >/dev/null
17  
18 -       if echo $pkg | grep '[^a-z0-9.+-]'; then
19 +       if echo $pkg | grep '[^a-zA-Z0-9.+-]'; then
20                 echo "ipkg-build: Error: Package name $name contains illegal characters, (other than [a-z0-9.+-])"
21                 PKG_ERROR=1;
22         fi