summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2009-11-19 14:18:46 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2009-11-19 14:18:46 +0000
commitf8fb664b4ad6c548514f33d031db3fc0cdb550f0 (patch)
tree9d9556cea78e465b38930282f2255f561606ca42
parentcc16583109fae358cec3848eed4279ae6f04d116 (diff)
Fix date
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@420 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rw-r--r--publish2
1 files changed, 1 insertions, 1 deletions
diff --git a/publish b/publish
index c27f1c6..4566b41 100644
--- a/publish
+++ b/publish
@@ -79,7 +79,7 @@ if [[ "$#" = 0 ]]; then
exit 2
fi
-d_date=$(date +'%Y-%m-%k')
+d_date=$(date +'%Y-%m-%d')
d_random=$(get_random)
d_server="$d_date-$d_random"
rsync_args="--partial --recursive --compress"