index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Steef Hegeman <steefhegeman@hotmail.com> | 2016-10-23 02:27:21 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-01-04 13:59:14 +1000 |
commit | 5dfa3c8f6a0b1c170feac564b1fca51a33f78723 (patch) | |
tree | a8fe0fe23d500476bd7ea88c9173e63dad251de9 /scripts/libmakepkg | |
parent | 9a4d61622066d5d30c649f1c958b26526a4ceddf (diff) |
-rw-r--r-- | scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in | 4 |
diff --git a/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in b/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in index 09041d17..8d22a115 100644 --- a/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in @@ -35,8 +35,8 @@ check_pkgver() { return 1 fi - if [[ $1 = *[[:space:]:-]* ]]; then - error "$(gettext "%s is not allowed to contain colons, hyphens or whitespace.")" "pkgver" + if [[ $1 = *[[:space:]/:-]* ]]; then + error "$(gettext "%s is not allowed to contain colons, forward slashes, hyphens or whitespace.")" "pkgver" return 1 fi } |