Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 18a4cf4..865f1fd 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -123,7 +123,8 @@ clean_up_lock_file() {
}
if ! grep -qxF "$1 $2 $3 $4" "${work_dir}/build-list" ||
- ! [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ]; then
+ ! [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ] ||
+ ! [ "$5" = "$(next_sub_pkgrel "$1" "$2" "$3" "$4")" ]; then
>&2 echo 'Sorry, the sent package is outdated.'
exit 2
fi