aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess/jstore.sh
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-18 14:25:01 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-18 14:25:01 +0200
commit230ef31acff93558efe3660489d099d27ef0580b (patch)
treea6d270069f8c6168a94aef62aff9dfd9bc7574af /jsaccess/jstore.sh
parentjsaccess: delete remote files on rsync (diff)
downloadlaurent-tools-230ef31acff93558efe3660489d099d27ef0580b.tar.xz
laurent-tools-230ef31acff93558efe3660489d099d27ef0580b.zip
jsaccess: rsync fix
Diffstat (limited to 'jsaccess/jstore.sh')
-rwxr-xr-xjsaccess/jstore.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsaccess/jstore.sh b/jsaccess/jstore.sh
index e09645a..b0177b2 100755
--- a/jsaccess/jstore.sh
+++ b/jsaccess/jstore.sh
@@ -233,7 +233,7 @@ action_rget() {
action_push() {
_rget
rm -f $tmp
- cmd="rsync -rvzP --delete $store/* $rsync_uri"
+ cmd="rsync -rvzP --delete $store/ $rsync_uri"
echo "Running \"$cmd\""
$cmd
}