Merge pull request #14627 from MikeMcQuaid/master
cask/cask: fix non-absolute home error.
This commit is contained in:
commit
c87090e1a0
@ -19,7 +19,8 @@ module Cask
|
||||
extend Searchable
|
||||
include Metadata
|
||||
|
||||
HOME_PLACEHOLDER = "$HOME"
|
||||
# Needs a leading slash to avoid `File.expand.path` complaining about non-absolute home.
|
||||
HOME_PLACEHOLDER = "/$HOME"
|
||||
HOMEBREW_PREFIX_PLACEHOLDER = "$HOMEBREW_PREFIX"
|
||||
APPDIR_PLACEHOLDER = "$APPDIR"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user