Add simple script to automatically pack all files into bziped tarball.

This commit is contained in:
Andrius Štikonas 2009-03-23 22:29:04 +02:00
父節點 71c292aa9a
當前提交 3ebc2cf5b5
共有 1 個文件被更改,包括 25 次插入0 次删除

25
pack-po-files Executable file
查看文件

@ -0,0 +1,25 @@
#!/bin/bash
# Copyright (C) 2009 Andrius Štikonas <stikonas@gmail.com>
#
# 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 <http://www.gnu.org/licenses/>.
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