mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-29 18:59:39 +02:00
Pmodules/libpbuild.bash
- pbuild::set_initial_path() added
This commit is contained in:
@@ -132,6 +132,16 @@ pbuild::cleanup_env() {
|
||||
unset F90
|
||||
}
|
||||
|
||||
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'
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
pbuild::pre_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user