aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-12-13 19:10:51 +0000
committerNicolas Vigier <boklm@mageia.org>2011-12-13 19:10:51 +0000
commit63bbfe7c0bb27a4efd59eeecf206753cd043f25d (patch)
treed387a93ad83452b9cffa59125fb914df018adfa1 /functions
parent4545a5039e5413b243f0a96f3eedd26aac3c0d6d (diff)
downloadrepoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar
repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar.gz
repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar.bz2
repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar.xz
repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.zip
add .lock extention on lock filename
Diffstat (limited to 'functions')
-rw-r--r--functions4
1 files 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