From d4380ed6a2f6be19241f71695a8b42d2eecdb8d7 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 19 Aug 2015 10:18:18 +0200 Subject: [PATCH] backup-script-wrapper: Sort variables alphabetically --- bin/backup-script-wrapper | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/backup-script-wrapper b/bin/backup-script-wrapper index 8d160e4..bb9009d 100755 --- a/bin/backup-script-wrapper +++ b/bin/backup-script-wrapper @@ -21,11 +21,12 @@ if [ -z "$MAILTO" ]; then fi NAME="backup-script" -HOST=`hostname -f` -TMP=`mktemp /tmp/$NAME.XXXXXXXX` || exit 1 -LOGFILE="/var/log/backup-script.log" + DELIMITER="- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -" +HOST=`hostname -f` +LOGFILE="/var/log/$NAME.log" SUBJECT="$NAME results" +TMP=`mktemp /tmp/$NAME.XXXXXXXX` || exit 1 PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" export PATH -- 2.39.2