From 3ebc2cf5b5bc2b36cd6552fa6036cebfc071ee19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Mon, 23 Mar 2009 22:29:04 +0200 Subject: [PATCH] Add simple script to automatically pack all files into bziped tarball. --- pack-po-files | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 pack-po-files diff --git a/pack-po-files b/pack-po-files new file mode 100755 index 0000000..42fcb6c --- /dev/null +++ b/pack-po-files @@ -0,0 +1,25 @@ +#!/bin/bash +# Copyright (C) 2009 Andrius Štikonas +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +source `dirname $0`/ths-variables +source $THS + +tar cfvj trunk.tar.bz2 `svn status $potrunk | awk '{print $2}'` +tar cfvj stable.tar.bz2 `svn status $postable | awk '{print $2}'` +if [ "$documentation" = "y" ]; then + tar cfvj doc-trunk.tar.bz2 `svn status $doctrunk | awk '{print $2}'` + tar cfvj doc-stable.tar.bz2 `svn status $docstable | awk '{print $2}'` +fi