summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlolilolicon <lolilolicon@gmail.com>2011-10-20 05:35:00 +0200
committerDan McGee <dan@archlinux.org>2011-10-21 19:31:24 +0200
commitd6e3446e70bcda9c0f28d80110d588106daa4b5c (patch)
treebd3f89296d35ecd0670e18d85459c085f781eac9
parent20a47aba8ec859e920bf965ab7da74c26a44339d (diff)
downloadpacman-d6e3446e70bcda9c0f28d80110d588106daa4b5c.tar.gz
pacman-d6e3446e70bcda9c0f28d80110d588106daa4b5c.tar.xz
bacman: pkgrel does not have to be an integer
pkgrel, as with pkgver, simply mustn't contain hyphens. Signed-off-by: lolilolicon <lolilolicon@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rwxr-xr-xcontrib/bacman.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bacman.in b/contrib/bacman.in
index 96360911..c55d7161 100755
--- a/contrib/bacman.in
+++ b/contrib/bacman.in
@@ -93,7 +93,7 @@ pkg_dest="${PKGDEST:-$PWD}"
pkg_pkger=${PACKAGER:-'Unknown Packager'}
pkg_name="$1"
-pkg_dir=("$pac_db/$pkg_name"-+([^-])-+([0-9]))
+pkg_dir=("$pac_db/$pkg_name"-+([^-])-+([^-]))
pkg_namver=("${pkg_dir[@]##*/}")
#