Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-17 20:45:45 +0200
committerErich Eckner <git@eckner.net>2017-09-17 20:45:45 +0200
commit26b553926dd28e830f43a173c0315b2dca272d4d (patch)
tree0df0e716827ae282718ca920ce9f133a9335740f
parent27f86a4a37b35d97ca0293cfb8c7d93eeac103fe (diff)
bin/get-assignment: style
-rwxr-xr-xbin/get-assignment3
1 files changed, 1 insertions, 2 deletions
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