From 83a72072f11a4fe04fb93fe294e06926671f6673 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Jun 2017 14:19:24 +0200 Subject: bin/return-assignment: reject packages without lock file --- bin/return-assignment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/return-assignment b/bin/return-assignment index ea2f09b..40f5b1c 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -77,7 +77,8 @@ fi # the build was successful on the build slave -if ! grep -q "^${1//./\\.} $2 $3 $4\$" "${work_dir}/build-list"; then +if ! grep -q "^${1//./\\.} $2 $3 $4\$" "${work_dir}/build-list" || + ! [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ]; then >&2 echo 'Sorry, the sent package is outdated.' exit 2 fi -- cgit v1.2.3-54-g00ecf