From 6c4607d8531f1b9d5d431f101f5bdf0438d9a5bd Mon Sep 17 00:00:00 2001 From: Elliot Jordan Date: Tue, 20 Jan 2015 13:36:48 -0800 Subject: [PATCH] Removed unnecessary $ from arithmetics. --- rsync_tmbackup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 7758f90..89e7f27 100755 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -152,8 +152,8 @@ fi # Date logic NOW=$(date +"%Y-%m-%d-%H%M%S") EPOCH=$(date "+%s") -KEEP_ALL_DATE=$(($EPOCH - 86400)) # 1 day ago -KEEP_DAILIES_DATE=$(($EPOCH - 2678400)) # 31 days ago +KEEP_ALL_DATE=$((EPOCH - 86400)) # 1 day ago +KEEP_DAILIES_DATE=$((EPOCH - 2678400)) # 31 days ago export IFS=$'\n' # Better for handling spaces in filenames. PROFILE_FOLDER="$HOME/.$APPNAME"