Browse Source

Fix syntax error

master
Andrius Štikonas 11 years ago
parent
commit
c1f12f6fb8
2 changed files with 4 additions and 5 deletions
  1. +2
    -2
      update.sh
  2. +2
    -3
      variables

+ 2
- 2
update.sh View File

@@ -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"

+ 2
- 3
variables View File

@@ -15,15 +15,14 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

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"

Loading…
Cancel
Save