From 7a1d1f8627690a2aac9ccf50bd9ef5f1f0557d52 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 2 Jan 2006 20:59:26 +0000 Subject: [PATCH] Work in the current directory instead of $HOME/work. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@60 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- bkmk-rsync | 1 - bkmk-set | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bkmk-rsync b/bkmk-rsync index 08835d7..2de2b30 100755 --- a/bkmk-rsync +++ b/bkmk-rsync @@ -2,7 +2,6 @@ PATH=$HOME/lib/bookmarks_db:$PATH -cd "$HOME/work" mz2ns mv bookmarks.html "$HOME/.netscape/bookmarks.html" diff --git a/bkmk-set b/bkmk-set index 8d97497..f64ea3c 100755 --- a/bkmk-set +++ b/bkmk-set @@ -3,7 +3,7 @@ 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 @@ -11,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 -- 2.39.5