X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mk-distr;h=302e5f2ae529b910a5aace74684220c416039bcc;hb=1666eb3f5d14ca9b798782ae1de99e9f2c0ae611;hp=bc7ff1ad55a04242468a8636c30baf937282cc8a;hpb=f6c8ed0c082bacff755ea19a445467460a89b3fa;p=bookmarks_db.git diff --git a/mk-distr b/mk-distr index bc7ff1a..302e5f2 100755 --- a/mk-distr +++ b/mk-distr @@ -2,16 +2,16 @@ # Mk-distr script. # # This file is a part of Bookmarks Database and Internet robot. -# Author: Oleg BroytMann . -# Copyright: (C) 2004 PhiloSoft Design. +# Author: Oleg Broytman . +# Copyright: (C) 2004-2008 PhiloSoft Design. # License: GPL. # __version__ = \ -# __revision__ = "$Id: mk-distr,v 1.3 2004/09/22 23:02:39 phd Exp $" -# __date__ = "$Date: 2004/09/22 23:02:39 $"[7:-2] -# __author__ = "Oleg Broytmann " -# __copyright__ = "Copyright (C) 2004 PhiloSoft Design" +# __revision__ = "$Id$" +# __date__ = "$Date$"[7:-2] +# __author__ = "Oleg Broytman " +# __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 fulldistr +svn export "$1" bookmarks_db || exit 1 +cd bookmarks_db && make fulldistr && \ +cd .. && exec rm -rf bookmarks_db