From 26b553926dd28e830f43a173c0315b2dca272d4d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 17 Sep 2017 20:45:45 +0200 Subject: bin/get-assignment: style --- bin/get-assignment | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/get-assignment') diff --git a/bin/get-assignment b/bin/get-assignment index 04497c4..2aae1d9 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -86,8 +86,7 @@ while read -r package git_revision mod_git_revision repository; do generate_package_metadata "${package}.${git_revision}.${mod_git_revision}.${repository}" - if [ -f "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.locked" ]; - then + if [ -f "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.locked" ]; then if [ "${slave}" = "$(head -n1 "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.locked")" ]; then echo "${package} ${git_revision} ${mod_git_revision} ${repository}" exit -- cgit v1.2.3-70-g09d2