cask/cask: fix non-absolute home error.
Needs a leading slash to avoid `File.expand.path` complaining about non-absolute home.
This commit is contained in:
parent
98f5213954
commit
1d61b219db
@ -19,7 +19,8 @@ module Cask
|
|||||||
extend Searchable
|
extend Searchable
|
||||||
include Metadata
|
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"
|
HOMEBREW_PREFIX_PLACEHOLDER = "$HOMEBREW_PREFIX"
|
||||||
APPDIR_PLACEHOLDER = "$APPDIR"
|
APPDIR_PLACEHOLDER = "$APPDIR"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user