X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/5e8b95f582e1327273442cc2ad0388aec5165d9c..6b669353824a74a935077f40dd70662597d8922d:/backmeupscotty?ds=inline diff --git a/backmeupscotty b/backmeupscotty index 1d09266..ad2fa65 100644 --- a/backmeupscotty +++ b/backmeupscotty @@ -6,16 +6,14 @@ ARCHIVE_KEEPNBACKUPS=30 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 {