[Unstable/Lunar][PATCH 3/3] UBUNTU: [Packaging] debian/rules: Remove unnecessary 'lockme_<foo>' variables

Juerg Haefliger juerg.haefliger at canonical.com
Fri Jan 13 08:40:33 UTC 2023


The variables 'lockme_cmd' and 'lockme_file' are no longer needed
elsewhere so remove them.

Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
 debian/rules.d/0-common-vars.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk
index 6901b7e4de1e..ef967986aefd 100644
--- a/debian/rules.d/0-common-vars.mk
+++ b/debian/rules.d/0-common-vars.mk
@@ -248,9 +248,7 @@ endif
 
 # Locking is required in parallel builds to prevent loss of contents
 # of the debian/files.
-lockme_file = $(CURDIR)/debian/.LOCK
-lockme_cmd = flock -w 60
-lockme = $(lockme_cmd) $(lockme_file)
+lockme = flock -w 60 $(CURDIR)/debian/.LOCK
 
 # Don't fail if a link already exists.
 LN = ln -sf
-- 
2.34.1




More information about the kernel-team mailing list