X-Git-Url: https://git.phdru.name/?p=bookmarks_db.git;a=blobdiff_plain;f=mk-distr;h=ef471d96d7801b9a55b7eab6742c3909e2d59562;hp=daa03125c9313bb6643313c783c66a8e1947d93c;hb=HEAD;hpb=274a5a0f59e2a28c2ddb53166230d16ff6bd7d70 diff --git a/mk-distr b/mk-distr index daa0312..ef471d9 100755 --- a/mk-distr +++ b/mk-distr @@ -4,20 +4,16 @@ # This file is a part of Bookmarks database and Internet robot. # # __author__ = "Oleg Broytman " -# __copyright__ = "Copyright (C) 2000-2013 PhiloSoft Design" +# __copyright__ = "Copyright (C) 2000-2015 PhiloSoft Design" # __license__ = "GNU GPL" -umask 022 +umask 022 && prog_dir="`pwd`" && -git archive --format=tar --prefix=bookmarks_db/ HEAD | +git archive --format=tar --prefix=bookmarks_db/ "${1:-HEAD}" | (cd "$HOME/tmp" && exec tar xf -) && cd "$HOME/tmp/bookmarks_db" && -cp -p "$prog_dir"/BeautifulSoup.py "$prog_dir"/subproc.py \ - "$prog_dir"/hotexplode.pl . && -cp -p "$prog_dir"/doc/COPYING doc && - make fulldistr && cd .. && exec rm -rf bookmarks_db