utils/lock.sh: remove redundant 'local'
This commit is contained in:
parent
b1811f2ef3
commit
1c27a75ca4
@ -29,7 +29,7 @@ EOS
|
||||
_create_lock() {
|
||||
local lock_fd="$1"
|
||||
local ruby="/usr/bin/ruby"
|
||||
[[ -x "$ruby" ]] || local ruby="$(which ruby 2>/dev/null)"
|
||||
[[ -x "$ruby" ]] || ruby="$(which ruby 2>/dev/null)"
|
||||
|
||||
if [[ -n "$ruby" ]]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user