]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk-rsync
Fix(Robot): Stop splitting and un-splitting URLs
[bookmarks_db.git] / bkmk-rsync
index 5244ebb5b49ca7646c60bcc58965d4b377b3de39..4754f05776d2bc410e45f64bec7105b6abe67d3d 100755 (executable)
@@ -4,15 +4,15 @@
 # This file is a part of Bookmarks database and Internet robot.
 #
 # __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
 # __license__ = "GNU GPL"
 
-PATH=$HOME/lib/bookmarks_db:$PATH
+. "`dirname \"$0\"`"/set-path
 umask 077
 
 bkmk2db || exit 1
 db2bkmk.py || exit 2
 diff $HOME/.mozilla/bookmarks.html bookmarks.html > diff.out
 
-distribute -r .mozilla bookmarks.html
+distribute -a -r .mozilla bookmarks.html
 exec mv bookmarks.html "$HOME/.mozilla/bookmarks.html"