From 63bbfe7c0bb27a4efd59eeecf206753cd043f25d Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 13 Dec 2011 19:10:51 +0000 Subject: add .lock extention on lock filename --- functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions b/functions index 96fb557..5868945 100644 --- a/functions +++ b/functions @@ -181,7 +181,7 @@ function rm_repo_lock() function get_distro_lock() { local distrorelease="$1" - local distrolock="$lockdir/$distrorelease" + local distrolock="$lockdir/$distrorelease.lock" get_lock "$distrolock" for distrosection in $distrosections do @@ -195,7 +195,7 @@ function get_distro_lock() function rm_distro_lock() { local distrorelease="$1" - local distrolock="$lockdir/$distrorelease" + local distrolock="$lockdir/$distrorelease.lock" for distrosection in $distrosections do for sectionrepo in $sectionsrepos -- cgit v1.2.1