LIB Vers MSG 2 stderr
This commit is contained in:
parent
297c6f958a
commit
a3a49da9b9
@ -17,10 +17,10 @@
|
|||||||
#load functions from LIB
|
#load functions from LIB
|
||||||
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
|
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
|
||||||
source "$(readlink -f "$(dirname $0)/bash-lib")"
|
source "$(readlink -f "$(dirname $0)/bash-lib")"
|
||||||
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER" >&2
|
||||||
elif [ -f "<LIBDIR>/bash-lib" ]; then #<LIBDIR>
|
elif [ -f "<LIBDIR>/bash-lib" ]; then #<LIBDIR>
|
||||||
source "<LIBDIR>/bash-lib"
|
source "<LIBDIR>/bash-lib"
|
||||||
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER" >&2
|
||||||
else
|
else
|
||||||
echo "ERROR: Global Lib not found"
|
echo "ERROR: Global Lib not found"
|
||||||
exit 255
|
exit 255
|
||||||
|
@ -9,10 +9,10 @@
|
|||||||
#load functions from LIB
|
#load functions from LIB
|
||||||
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
|
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
|
||||||
source "$(readlink -f "$(dirname $0)/bash-lib")"
|
source "$(readlink -f "$(dirname $0)/bash-lib")"
|
||||||
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER" >&2
|
||||||
elif [ -f "<LIBDIR>/bash-lib" ]; then #<LIBDIR>
|
elif [ -f "<LIBDIR>/bash-lib" ]; then #<LIBDIR>
|
||||||
source "<LIBDIR>/bash-lib"
|
source "<LIBDIR>/bash-lib"
|
||||||
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER" >&2
|
||||||
else
|
else
|
||||||
echo "ERROR: Global Lib not found"
|
echo "ERROR: Global Lib not found"
|
||||||
exit 255
|
exit 255
|
||||||
|
Loading…
Reference in New Issue
Block a user