X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mk-distr;h=ce01503798e6e35286c40605976cc7458977de1e;hb=2d964b5fedeaeecd68a4f4de698348a5595906f0;hp=f6adfca6600368af07ac9a6ce823ab821f9b14b3;hpb=3f8cd2467fcee643fd4ece8dac9f5cdf70f905c5;p=bookmarks_db.git diff --git a/mk-distr b/mk-distr index f6adfca..ce01503 100755 --- a/mk-distr +++ b/mk-distr @@ -4,11 +4,15 @@ # 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-2014 PhiloSoft Design" # __license__ = "GNU GPL" -umask 022 +if [ -n "$1" ]; then + git checkout "$1" +fi && + +umask 022 && prog_dir="`pwd`" && git archive --format=tar --prefix=bookmarks_db/ HEAD |