diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-03-23 19:50:56 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-03-23 19:50:56 +0100 |
commit | d568b8aeb0be95d6a1da7da0434de23e6b2260e2 (patch) | |
tree | 3051c14427751e9e79b1f4878fb6e8299440d728 /db-move | |
parent | 9e4f661adf89d150b0891d6edd39e19682d923bf (diff) | |
download | dbscripts-d568b8aeb0be95d6a1da7da0434de23e6b2260e2.tar.gz dbscripts-d568b8aeb0be95d6a1da7da0434de23e6b2260e2.tar.xz |
Add support for packages which use the epoch variable
Diffstat (limited to 'db-move')
-rwxr-xr-x | db-move | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ for pkgbase in ${args[@]:2}; do die "Could not read pkgname" fi - pkgver=$(. "${svnrepo_from}/PKGBUILD"; echo "${pkgver}-${pkgrel}") + pkgver=$(. "${svnrepo_from}/PKGBUILD"; echo $(get_full_version ${epoch:-0} ${pkgver} ${pkgrel})) if [ -z "${pkgver}" ]; then die "Could not read pkgver" fi @@ -75,7 +75,7 @@ for pkgbase in ${args[@]:2}; do fi msg2 "${pkgbase} ($(echo ${tarches[@]}))" pkgnames=($(. "${svnrepo_from}/PKGBUILD"; echo ${pkgname[@]})) - pkgver=$(. "${svnrepo_from}/PKGBUILD"; echo "${pkgver}-${pkgrel}") + pkgver=$(. "${svnrepo_from}/PKGBUILD"; echo $(get_full_version ${epoch:-0} ${pkgver} ${pkgrel})) if [ -d "${svnrepo_to}" ]; then /usr/bin/svn rm --force -q "${svnrepo_to}" |