load logging if not in environment

This commit is contained in:
Jakobus Schürz 2021-03-02 22:42:38 +01:00
parent 99b322a1f3
commit 012b8c6017

View file

@ -1,5 +1,7 @@
#!/bin/bash
[ type loginfo > /dev/null 2>&1 ] || . $(dirname $0)/../logging
export SCRIPT_LOG=./$(basename $0).log
export LOGFILE=./$(basename $0).move.log
[ -z "${move+x}" ] && move=false