2008-09-18 13:36:37 +01:00
|
|
|
#!/bin/bash
|
|
|
|
# You would probably need to make some adjustments to variables.
|
|
|
|
# Copyright (C) 2008 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 3 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/>.
|
|
|
|
|
|
|
|
# Repositories
|
|
|
|
REPO="http://svn.gna.org/svn/wesnoth"
|
2009-05-18 14:35:36 +01:00
|
|
|
BRANCHES="1.6" # one or multiple branches separated by space. Can be blank.
|
|
|
|
TRUNK="" # "trunk" or ""
|
2008-09-18 14:06:21 +01:00
|
|
|
|
|
|
|
# Options
|
2008-09-18 21:36:42 +01:00
|
|
|
LCODE="lt" # Language code. Only 1 language is supported.
|
2008-09-18 13:36:37 +01:00
|
|
|
|
|
|
|
#Paths
|
|
|
|
MDIR="mo"
|
|
|
|
PREFIX="workspace"
|
|
|
|
|
|
|
|
#Binaries
|
|
|
|
SVN=`which svn 2> /dev/null`
|
|
|
|
MSGFMT=`which msgfmt 2> /dev/null`
|
|
|
|
MSGMERGE=`which msgmerge 2> /dev/null`
|
|
|
|
MSGINIT=`which msginit 2> /dev/null`
|
|
|
|
ISUTF8=`which isutf8 2> /dev/null`
|
|
|
|
TAR=`which tar 2> /dev/null`
|
|
|
|
BZIP2=`which bzip2 2> /dev/null`
|
|
|
|
DIFF=`which diff 2> /dev/null`
|
2008-11-10 13:31:49 +00:00
|
|
|
|
|
|
|
#Colors
|
2009-02-09 21:29:21 +00:00
|
|
|
RED="\033[1;31m"
|
2008-11-10 13:31:49 +00:00
|
|
|
GREEN="\033[1;32m"
|
|
|
|
BLUE="\033[1;34m"
|
|
|
|
ENDCOLOR="\033[0m"
|