mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
get rid of an illegal characters warning with packages that contain uppercase characters
SVN-Revision: 14810
This commit is contained in:
parent
11cf9ea728
commit
d38153a847
@ -595,8 +595,8 @@ ipkg_depends() {
|
|||||||
all_deps="$all_deps $new_pkgs"
|
all_deps="$all_deps $new_pkgs"
|
||||||
local new_deps=
|
local new_deps=
|
||||||
for pkg in $new_pkgs; do
|
for pkg in $new_pkgs; do
|
||||||
if echo $pkg | grep -q '[^a-z0-9.+-]'; then
|
if echo $pkg | grep -q '[^A-Za-z0-9.+-]'; then
|
||||||
echo "ipkg_depends: ERROR: Package name $pkg contains illegal characters (should be [a-z0-9.+-])" >&2
|
echo "ipkg_depends: ERROR: Package name $pkg contains illegal characters (should be [A-Za-z0-9.+-])" >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
# TODO: Fix this. For now I am ignoring versions and alternations in dependencies.
|
# TODO: Fix this. For now I am ignoring versions and alternations in dependencies.
|
||||||
|
Loading…
Reference in New Issue
Block a user