aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils/lock.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/lock.sh b/Library/Homebrew/utils/lock.sh
index 4ff8dc060..ab6d2533d 100644
--- a/Library/Homebrew/utils/lock.sh
+++ b/Library/Homebrew/utils/lock.sh
@@ -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