]> git.phdru.name Git - bookmarks_db.git/blobdiff - mk-distr
Write icon's URIs.
[bookmarks_db.git] / mk-distr
index 0001e9de17231247974157ca4e194235f1b1afba..302e5f2ae529b910a5aace74684220c416039bcc 100755 (executable)
--- 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 <phd@phd.pp.ru>.
-# Copyright: (C) 2004 PhiloSoft Design.
+# Author: Oleg Broytman <phd@phd.pp.ru>.
+# Copyright: (C) 2004-2008 PhiloSoft Design.
 # License: GPL.
 
 
 # __version__ = \
-# __revision__ = "$Id: mk-distr,v 1.2 2004/09/22 23:00:51 phd Exp $"
-# __date__ = "$Date: 2004/09/22 23:00:51 $"[7:-2]
-# __author__ = "Oleg Broytmann <phd@phd.pp.ru>"
-# __copyright__ = "Copyright (C) 2003 PhiloSoft Design"
+# __revision__ = "$Id$"
+# __date__ = "$Date$"[7:-2]
+# __author__ = "Oleg Broytman <phd@phd.pp.ru>"
+# __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