mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
devscript: full path to pwd
This commit is contained in:
@@ -49,7 +49,7 @@ _develop_brew_cask () {
|
||||
|
||||
# initialization
|
||||
cd_to_project_root
|
||||
local git_root="$(pwd)"
|
||||
local git_root="$(/bin/pwd)"
|
||||
local brew_prefix="$(brew --prefix)"
|
||||
local cellar_dir="$brew_prefix/Cellar/brew-cask"
|
||||
local version_dir="$(/bin/ls "$cellar_dir/" | /usr/bin/sort | /usr/bin/tail -1)"
|
||||
|
||||
@@ -46,7 +46,7 @@ _production_brew_cask () {
|
||||
|
||||
# initialization
|
||||
cd_to_project_root
|
||||
local git_root="$(pwd)"
|
||||
local git_root="$(/bin/pwd)"
|
||||
local brew_prefix="$(brew --prefix)"
|
||||
local cellar_dir="$brew_prefix/Cellar/brew-cask"
|
||||
local version_dir="$(/bin/ls "$cellar_dir/" | /usr/bin/sort | /usr/bin/tail -1)"
|
||||
|
||||
Reference in New Issue
Block a user