diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-08-28 18:53:25 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-08-31 21:26:07 -0400 |
commit | 21e0e24aba37d81374da3773218afa821c6703f9 (patch) | |
tree | 0384061f2c281fc3282ac0225356da3ca818b801 | |
parent | 2f22e3411af3a2f91a4acb3e0ddda503a16883fe (diff) |
db-import-pkg: dif: Only move between tags of the same arch
-rwxr-xr-x | db-import-pkg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db-import-pkg b/db-import-pkg index 3e5f8ea..41cdd32 100755 --- a/db-import-pkg +++ b/db-import-pkg @@ -308,8 +308,12 @@ main() { # from each upstream. local tag_from tag_to for tag_from in "${ARCHTAGS[@]}"; do + arch_from=${tag_from##*-} for tag_to in "${ARCHTAGS[@]}"; do + arch_to=${tag_to##*-} [[ $tag_from != $tag_to ]] || continue + [[ $arch_from == $arch_to ]] || continue + comm -12 \ "${WORKDIR}/old/${tag_from}.txt" \ "${WORKDIR}/new/${tag_to}.txt" \ |