summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-09 15:06:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-09 15:06:30 +0000
commit8cfceab612ec83d1d3e3602ca5d3dec3dbb7ecc6 (patch)
tree318bf038f1a536394c66c4f7edbbaf5918fe651b /scripts
parent57a1576550e4cd18adf7ab7d63abe31ef4b364b0 (diff)
get rid of an illegal characters warning with packages that contain uppercase characters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14810 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ipkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ipkg b/scripts/ipkg
index d798bcac7..18090be3e 100755
--- a/scripts/ipkg
+++ b/scripts/ipkg
@@ -595,8 +595,8 @@ ipkg_depends() {
all_deps="$all_deps $new_pkgs"
local new_deps=
for pkg in $new_pkgs; do
- if echo $pkg | grep -q '[^a-z0-9.+-]'; then
- echo "ipkg_depends: ERROR: Package name $pkg contains illegal characters (should be [a-z0-9.+-])" >&2
+ if echo $pkg | grep -q '[^A-Za-z0-9.+-]'; then
+ echo "ipkg_depends: ERROR: Package name $pkg contains illegal characters (should be [A-Za-z0-9.+-])" >&2
return 1
fi
# TODO: Fix this. For now I am ignoring versions and alternations in dependencies.