diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-12-13 19:10:51 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-12-13 19:10:51 +0000 |
commit | 63bbfe7c0bb27a4efd59eeecf206753cd043f25d (patch) | |
tree | d387a93ad83452b9cffa59125fb914df018adfa1 | |
parent | 4545a5039e5413b243f0a96f3eedd26aac3c0d6d (diff) | |
download | repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar.gz repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar.bz2 repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.tar.xz repoctl-63bbfe7c0bb27a4efd59eeecf206753cd043f25d.zip |
add .lock extention on lock filename
-rw-r--r-- | functions | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |