Merge with Achims version
This commit is contained in:
@@ -28,12 +28,6 @@ debug() {
|
|||||||
die() {
|
die() {
|
||||||
local -ri ec=$1
|
local -ri ec=$1
|
||||||
shift
|
shift
|
||||||
local cout
|
|
||||||
if (( ec == 0)); then
|
|
||||||
cout='1'
|
|
||||||
else
|
|
||||||
cout='2'
|
|
||||||
fi
|
|
||||||
if [[ -n $@ ]]; then
|
if [[ -n $@ ]]; then
|
||||||
local -r fmt=$1
|
local -r fmt=$1
|
||||||
shift
|
shift
|
||||||
@@ -90,6 +84,7 @@ initialized properly!"
|
|||||||
|
|
||||||
check_pmodules_directories() {
|
check_pmodules_directories() {
|
||||||
local -r src_prefix="$1"
|
local -r src_prefix="$1"
|
||||||
|
|
||||||
[[ -d "${src_prefix}" ]] &&
|
[[ -d "${src_prefix}" ]] &&
|
||||||
[[ -d "${src_prefix}/${PSI_CONFIG_DIR}" ]] &&
|
[[ -d "${src_prefix}/${PSI_CONFIG_DIR}" ]] &&
|
||||||
[[ -d "${src_prefix}/${PSI_MODULES_ROOT}" ]] &&
|
[[ -d "${src_prefix}/${PSI_MODULES_ROOT}" ]] &&
|
||||||
|
|||||||
Reference in New Issue
Block a user