implement/fix issue #2: move additional binaries to "$PMODULES_HOME/sbin"

This commit is contained in:
2017-01-09 17:25:51 +01:00
parent c8899ef733
commit e0423db6f4
19 changed files with 45 additions and 27 deletions
+2 -1
View File
@@ -3,10 +3,11 @@
if [[ -z ${bindir} ]]; then
local bindir=$(dirname "${BASH_SOURCE}")
bindir=$(cd "${bindir}"/.. && pwd)"/bin"
sbindir=$(cd "${bindir}"/.. && pwd)"/sbin"
fi
pmodules::get_options() {
"${bindir}/getopt" "$@"
"${sbindir}/getopt" "$@"
}
pmodules::check_env_vars() {