Skip to content

Commit 8c90944

Browse files
committed
Fix typo in resolution of macports directory.
1 parent a9534ab commit 8c90944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Linux/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ adjust_macosx_environment() {
195195
compilerpaths=( ${(M)compilerpaths:#[ ]*} )
196196
compilerpaths=( ${${compilerpaths##[[:blank:]]##}%%[[:blank:]]*} )
197197
compilerpaths=( ${^compilerpaths}(N-/) )
198-
local PORTDIR=${$(whence -p port):h}
198+
local PORTDIR=${$(whence -p port):h:h}
199199
local cxxhasboost
200200
cxxhasboost=( ${^compilerpaths}/boost(N-/) )
201201
if [[ -z $cxxhasboost && -d ${PORTDIR}/include/boost ]]; then

0 commit comments

Comments
 (0)