index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-01-29 20:08:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-29 20:08:18 +0100 |
commit | f5474f73a5b79d85e07bf983a6a783e1e6daa0ea (patch) | |
tree | 1708e33fa37a19da14f45a0216ae6e2ad10654e4 /bin/modify-package-state | |
parent | ce820e4c454ba94876ccd62e74d27cf24089e27d (diff) |
-rwxr-xr-x | bin/modify-package-state | 8 |
diff --git a/bin/modify-package-state b/bin/modify-package-state index 540b333..b157d49 100755 --- a/bin/modify-package-state +++ b/bin/modify-package-state @@ -162,16 +162,16 @@ fi ) pkgbase="${package%.*}" mod_git_rev=$( - printf '%s' "${package##*.}" | \ + printf '%s' "${pkgbase##*.}" | \ base64 -w0 ) pkgbase="${pkgbase%.*}" git_rev=$( - printf '%s' "${package##*.}" | \ + printf '%s' "${pkgbase##*.}" | \ base64 -w0 ) pkgbase=$( - printf '%s' "${package%.*}" | \ + printf '%s' "${pkgbase%.*}" | \ base64 -w0 ) if [ "${action}" = 'block' ] || \ @@ -207,7 +207,7 @@ fi 'mod_git_revision' "${mod_git_rev}" printf ' `upstream_repositories`.`name`=from_base64("%s");\n' \ "${repo}" - } | \ + } | tee /dev/stderr | \ ${mysql_command} printf '%s %s\n' "${package}" "${reason}" fi |