summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Jordan <elliot@elliotjordan.com>2015-01-20 13:36:48 -0800
committerElliot Jordan <elliot@elliotjordan.com>2015-01-20 13:36:48 -0800
commit6c4607d8531f1b9d5d431f101f5bdf0438d9a5bd (patch)
tree5e8df227ad9b77ad956fc058a4e9d8ff968a36d1
parentf3a265b07e708ce45cd7ed2d4dd4a86f0ebf39cc (diff)
Removed unnecessary $ from arithmetics.
-rwxr-xr-xrsync_tmbackup.sh4
1 files 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"