]> git.phdru.name Git - bookmarks_db.git/commitdiff
Added a shell wrapper for set-title-list.py.
authorOleg Broytman <phd@phdru.name>
Mon, 12 Dec 2011 09:30:12 +0000 (09:30 +0000)
committerOleg Broytman <phd@phdru.name>
Mon, 12 Dec 2011 09:30:12 +0000 (09:30 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@349 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Makefile
set-title-list [new file with mode: 0755]

index d72cdd456d8bfe3bd3daf973e550864c0f364a50..761ab4bff61a5a40e45b929879d1a0613bfe4731 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ VERSION=4.4.0
 
 EXAMPLE_SHELL=bkmk-add bkmk-add.py bkmk-chk bkmk-publish bkmk-rsync \
    bkmk-sort bkmk2db check_title.py check_url.py hotexplode.pl \
-   mk-distr set-real_title.py set-title-list.py
+   mk-distr set-real_title.py set-title-list set-title-list.py
 
 .PHONY: all
 all:
diff --git a/set-title-list b/set-title-list
new file mode 100755 (executable)
index 0000000..41e9d4f
--- /dev/null
@@ -0,0 +1,19 @@
+#! /bin/sh
+# Set titles
+#
+# This file is a part of Bookmarks database and Internet robot.
+#
+# __version__ = "$Revision$"[11:-2]
+# __revision__ = "$Id$"[5:-2]
+# __date__ = "$Date$"[7:-2]
+# __author__ = "Oleg Broytman <phd@phdru.name>"
+# __copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design"
+# __license__ = "GNU GPL"
+
+PATH="$HOME/lib/bookmarks_db:$PATH"
+
+set-title-list.py "$@" || exit 1
+
+BKMK_WRITER=flad db2bkmk.py && \
+convert_st.py json && \
+exec db2bkmk.py