From c1f12f6fb869348bfe8899c4464e05c9630fc60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Thu, 18 Sep 2008 23:36:42 +0300 Subject: [PATCH] Fix syntax error --- update.sh | 4 ++-- variables | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/update.sh b/update.sh index 86e7c0a..2a5e9e5 100755 --- a/update.sh +++ b/update.sh @@ -50,7 +50,7 @@ echo -e "Language: \E[31m$LCODE"; tput sgr0 echo "" if [ ! -z $TRUNK ]; then - if [ -e $TRUNK/.git] || [ -e $TRUNK/.svn ]; then + if [ -e $TRUNK/.git ] || [ -e $TRUNK/.svn ]; then echo -e "Updating repository: \E[34mtrunk" if [ $GIT ] && [ $GITSVN ]; then SVN="$GITSVN rebase" @@ -76,7 +76,7 @@ if [ ! -z $TRUNK ]; then fi for BRANCH in $BRANCHES; do - if [ -e $BRANCH/.git] || [ -e $BRANCH/.svn ]; then + if [ -e $BRANCH/.git ] || [ -e $BRANCH/.svn ]; then echo -e "Updating repository: \E[34m$BRANCH" if [ $GIT ] && [ $GITSVN ]; then SVN="$GITSVN rebase" diff --git a/variables b/variables index abd02c1..dafa4d5 100644 --- a/variables +++ b/variables @@ -15,15 +15,14 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -LCODE="lt" # Language code. Only 1 language is supported. - # Repositories REPO="http://svn.gna.org/svn/wesnoth" BRANCHES="" # one or multiple branches separated by space. Can be blank. TRUNK="trunk" # "trunk" or "" # Options -GIT=1 # Enable (1) or disable (0) git-svn +LCODE="lt" # Language code. Only 1 language is supported. +GIT=1 # Enable (1) or disable (0) git-svn. #Paths MDIR="mo"