2009-03-23 20:29:04 +00:00
|
|
|
#!/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/>.
|
|
|
|
|
2009-05-09 22:42:22 +01:00
|
|
|
source "`dirname $0`/ths-variables"
|
|
|
|
source "$THS"
|
2009-03-23 20:29:04 +00:00
|
|
|
|
|
|
|
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
|