Commit c3be031e authored by gsell's avatar gsell
Browse files

lib/libpmodules.bash:

- set PATH after sourcing lib.bash
parent e66234d6
#!/bin/bash
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
# disable auto-echo feature of 'cd'
unset CDPATH
......@@ -19,9 +17,15 @@ declare -rx BUILD_BASEDIR=$(abspath $SHLIBDIR/..)
PATH=/usr/bin:/bin:/usr/sbin:/sbin
declare -r OS=$(uname -s)
if [[ "${OS}" == "Darwin" ]]; then
# :FIXME: why do we need this?
[[ -d "/opt/X11/bin" ]] && PATH+=':/opt/X11/bin'
fi
# number of parallel make jobs
declare -i JOBS=3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment