summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-09 15:06:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-09 15:06:30 +0000
commitd38153a8476b80bfe26b48d5fcce46e5f0a11812 (patch)
treea947e2d4794e4555e50295093843f7534a3fd87a /scripts
parent11cf9ea7286c94b48eaebdf1d2e3518a24f085bc (diff)
downloadmtk-20170518-d38153a8476b80bfe26b48d5fcce46e5f0a11812.zip
mtk-20170518-d38153a8476b80bfe26b48d5fcce46e5f0a11812.tar.gz
mtk-20170518-d38153a8476b80bfe26b48d5fcce46e5f0a11812.tar.bz2
get rid of an illegal characters warning with packages that contain uppercase characters
SVN-Revision: 14810
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ipkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ipkg b/scripts/ipkg
index d798bca..18090be 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.