asdf
This commit is contained in:
@@ -39,10 +39,10 @@ alias do_sync='rsync -avhu --progress --delete --partial --links'
|
|||||||
|
|
||||||
################### GLOBAL FUNCTIONS #########################
|
################### GLOBAL FUNCTIONS #########################
|
||||||
msg() {
|
msg() {
|
||||||
printf '>>>>>>>>>>>>[MESSAGE]: %s\n' "$*"
|
printf '>>>>>[MESSAGE]: %s\n' "$*"
|
||||||
}
|
}
|
||||||
errmsg() {
|
errmsg() {
|
||||||
>&2 printf '>>>>>>>>>>>>[ERROR]: %s\n' "$*"
|
>&2 printf '>>>>>>[ERROR]: %s\n' "$*"
|
||||||
}
|
}
|
||||||
die() {
|
die() {
|
||||||
errmsg "$*"
|
errmsg "$*"
|
||||||
@@ -50,7 +50,7 @@ die() {
|
|||||||
}
|
}
|
||||||
debug() {
|
debug() {
|
||||||
if [ "$DEBUG" ] ; then
|
if [ "$DEBUG" ] ; then
|
||||||
>&2 printf '>>>>>>>>>DEBUG: %s\n' "$*"
|
>&2 printf '>>>>>>DEBUG: %s\n' "$*"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
isempty() {
|
isempty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user