mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-04 02:28:10 +02:00
build and install findutils and getopt on macOS/Darwin only
This commit is contained in:
@@ -340,18 +340,20 @@ pmodules::compile() {
|
|||||||
# build coreutils
|
# build coreutils
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/getopt" ]] || [[ ${opt_force} == 'yes' ]]; then
|
if [[ "${OS}" == 'Darwin' ]]; then
|
||||||
build getopt
|
if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/getopt" ]] || [[ ${opt_force} == 'yes' ]]; then
|
||||||
|
build getopt
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/find" ]] || [[ ${opt_force} == 'yes' ]]; then
|
||||||
|
build findutils
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/bash" ]] || [[ ${opt_force} == 'yes' ]]; then
|
if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/bash" ]] || [[ ${opt_force} == 'yes' ]]; then
|
||||||
build bash
|
build bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/find" ]] || [[ ${opt_force} == 'yes' ]]; then
|
|
||||||
build findutils
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! -e "${PMODULES_HOME}/${UTILBIN_DIR}/tclsh" ]] || [[ ${opt_force} == 'yes' ]]; then
|
if [[ ! -e "${PMODULES_HOME}/${UTILBIN_DIR}/tclsh" ]] || [[ ${opt_force} == 'yes' ]]; then
|
||||||
build Tcl
|
build Tcl
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user