mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-02 20:00:50 +02:00
Pmodules/libpbuild.bash: print warning if Xquarz is not installed if OS is Mac OS X
This commit is contained in:
@@ -147,8 +147,9 @@ pbuild::set_initial_path() {
|
||||
PATH='/usr/bin:/bin:/usr/sbin:/sbin'
|
||||
|
||||
if [[ "${OS}" == "Darwin" ]]; then
|
||||
# :FIXME: why do we need this?
|
||||
[[ -d "/opt/X11/bin" ]] && PATH+=':/opt/X11/bin'
|
||||
# :FIXME: do we really need this?
|
||||
[[ -d "/opt/X11/bin" ]] && PATH+=':/opt/X11/bin' || \
|
||||
std::info "Xquarz is not installed in '/opt/X11'"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user