|
- #!/bin/bash
- # Copyright (C) 2009 Andrius Štikonas <andrius@stikonas.eu>
- #
- # 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
|