ARCHIVE_KEEPNDAYS=30
BACKUP_RUNEVERYNTHDAY=1
-function upperme {
- echo $(basename $0) | tr '[:lower:]' '[:upper:]'
-}
+_UPPERME=$(echo $(basename $0) | tr '[:lower:]' '[:upper:]')
function scottyinfo {
- echo $(upperme): $@
+ echo $_UPPERME: $@
}
function scottyerror {
- echo $(upperme): $@ >&2
+ echo $_UPPERME: $@ >&2
}
function ssh255 {