aboutsummaryrefslogtreecommitdiff
path: root/blogsend
diff options
context:
space:
mode:
Diffstat (limited to 'blogsend')
-rwxr-xr-xblogsend4
1 files changed, 2 insertions, 2 deletions
diff --git a/blogsend b/blogsend
index 572e60f..18b10a5 100755
--- a/blogsend
+++ b/blogsend
@@ -22,11 +22,11 @@ else
fi
fi
-MINUTES=$(($HOURS*60))
+MINUTES=$((HOURS*60))
echo "Sending files modified in the past $HOURS hour(s)..."
-files=$(find -- * -iname *.html -path .tmp -prune -o -mmin -$MINUTES -type f)
+files=$(find -- * -iname "*.html" -path .tmp -prune -o -mmin -$MINUTES -type f)
for file in $files
do
scp -r "$file" "$rf/$file";