X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bkmk-set;h=f64ea3c8a00fa568acf693cb27a675e422d4f46f;hb=fd325219011aaed865f074275b2270112b5e9732;hp=558502118fcb656223d40c76d086b12311ff857b;hpb=0a716ce985dc377293a6ca66e9e2da8523bdbacc;p=bookmarks_db.git diff --git a/bkmk-set b/bkmk-set index 5585021..f64ea3c 100755 --- a/bkmk-set +++ b/bkmk-set @@ -1,8 +1,9 @@ #! /bin/sh umask 077 +PATH=$HOME/lib/bookmarks_db:$PATH -cd $HOME/work && \ +STARTDIR="`pwd`" bkmk-koi -c && \ mv public-koi.tmp bkmk-koi.html && chmod a+r bkmk-koi.html || exit 1 @@ -10,14 +11,14 @@ echo "Splitting bookmarks..." cd $HOME/Internet/WWW/htdocs/phd.pp.ru/Bookmarks && \ rm -rf split || exit 1 -$HOME/lib/bookmarks_db/hotexplode.pl -o split $HOME/work/bookmarks.html && \ +$HOME/lib/bookmarks_db/hotexplode.pl -o split $STARTDIR/bookmarks.html && \ cp -p ../../../misc/nopasswd-index.html split/privatelinks/index.html || exit 1 -cp -p $HOME/work/bkmk-koi.html bookmarks.html && chmod -R a+rX . || exit 1 +cp -p $STARTDIR/bkmk-koi.html bookmarks.html && chmod -R a+rX . || exit 1 #/usr/local/htdig/bkmk.sh -cd $HOME/work && \ +cd $STARTDIR && \ exec rm -f header bookmarks.err bookmarks_db.pickle bookmarks_db.flad \ private-win.tmp public-win.tmp bookmarks.html bookmark.ht0 bookmark.ht1 bkmk-koi.html