index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-07-19 02:12:48 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-07-27 10:21:58 +1000 |
commit | 316b031b7c1c8b9a6f4194b1378c58106b2a34dd (patch) | |
tree | afd381d757e3e84bce325b395bcd5bd98242cbd3 /scripts/libmakepkg/lint_pkgbuild/depends.sh.in | |
parent | 757e85b21df62bf6c8e7d8c0642c1e93735aabce (diff) |
-rw-r--r-- | scripts/libmakepkg/lint_pkgbuild/depends.sh.in | 3 |
diff --git a/scripts/libmakepkg/lint_pkgbuild/depends.sh.in b/scripts/libmakepkg/lint_pkgbuild/depends.sh.in index 40cdc65a..e363a039 100644 --- a/scripts/libmakepkg/lint_pkgbuild/depends.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/depends.sh.in @@ -46,7 +46,8 @@ lint_depends() { # remove optional epoch in version specifier ver=${depend##$name@(<|>|=|>=|<=)?(+([0-9]):)} lint_one_pkgname depends "$name" || ret=1 - if [[ $ver != $depend ]]; then + # Don't validate empty version because of https://bugs.archlinux.org/task/58776 + if [[ $ver != $depend && -n $ver ]]; then # remove optional pkgrel in version specifier check_pkgver "${ver%-+([0-9])?(.+([0-9]))}" depends || ret=1 fi |