LIB Vers MSG 2 stderr

This commit is contained in:
6543 2019-05-11 23:41:58 +02:00
parent 297c6f958a
commit a3a49da9b9
2 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@
#load functions from LIB
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
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>
source "<LIBDIR>/bash-lib"
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER" >&2
else
echo "ERROR: Global Lib not found"
exit 255

View File

@ -9,10 +9,10 @@
#load functions from LIB
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
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>
source "<LIBDIR>/bash-lib"
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER" >&2
else
echo "ERROR: Global Lib not found"
exit 255