projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a1576
)
get rid of an illegal characters warning with packages that contain uppercase characters
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Mar 2009 15:06:30 +0000
(15:06 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Mar 2009 15:06:30 +0000
(15:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14810
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/ipkg
patch
|
blob
|
history
diff --git
a/scripts/ipkg
b/scripts/ipkg
index
d798bca
..
18090be
100755
(executable)
--- 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-Z
a-z0-9.+-]'; then
+ echo "ipkg_depends: ERROR: Package name $pkg contains illegal characters (should be [
A-Z
a-z0-9.+-])" >&2
return 1
fi
# TODO: Fix this. For now I am ignoring versions and alternations in dependencies.
This page took
0.030322 seconds
and
4
git commands to generate.