X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mk-distr;h=98ba9acb85b24548fbb657a226a5b98ad67252c6;hb=103bee98b792d9a0356dc4738541918d398edef8;hp=a113aab299cea99086f73d761433e1bba8263340;hpb=bc74f7c23922518a1ee1cc27ed458c082f29888b;p=bookmarks_db.git diff --git a/mk-distr b/mk-distr index a113aab..98ba9ac 100755 --- a/mk-distr +++ b/mk-distr @@ -3,15 +3,15 @@ # # This file is a part of Bookmarks Database and Internet robot. # Author: Oleg BroytMann . -# Copyright: (C) 2004 PhiloSoft Design. +# Copyright: (C) 2004-2008 PhiloSoft Design. # License: GPL. # __version__ = \ -# __revision__ = "$Id: mk-distr,v 1.1 2004/09/22 22:58:18 phd Exp $" -# __date__ = "$Date: 2004/09/22 22:58:18 $"[7:-2] +# __revision__ = "$Id$" +# __date__ = "$Date$"[7:-2] # __author__ = "Oleg Broytmann " -# __copyright__ = "Copyright (C) 2003 PhiloSoft Design" +# __copyright__ = "Copyright (C) 2004-2008 PhiloSoft Design" error() { @@ -20,16 +20,12 @@ error() { } if [ -z "$1" ]; then - error "No CVS tag specified, program aborted" + error "No Subversion URI specified, program aborted" fi -if [ -z "$CVSROOT" ]; then - CVSROOT="$HOME/work/CVSROOT" - export CVSROOT -fi - umask 022 cd "$HOME/work" || exit 1 -cvs export -r "$1" bookmarks_db || exit 1 -cd bookmarks_db && exec make distr +svn export "$1" bookmarks_db || exit 1 +cd bookmarks_db && make fulldistr && \ +cd .. && exec rm -rf bookmarks_db