use $USER for login and module
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 8 Sep 2011 11:50:19 +0000 (11:50 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 8 Sep 2011 11:50:19 +0000 (11:50 +0000)
client/rsync-push.sh

index 62f0818..cf966c7 100755 (executable)
@@ -2,5 +2,5 @@
 
 #inotifywait -m -r --format '%:e %f' Dropbox/
 pwd > .pwd
-RSYNC_PASSWORD=secret rsync .pwd "$@" rsync://dpavlin@10.60.0.244:6501/dpavlin/`hostname`/
+RSYNC_PASSWORD=secret rsync .pwd "$@" rsync://$USER@10.60.0.244:6501/$USER/`hostname`/
 rm .pwd