Changeset 33783


Ignore:
Timestamp:
2019-12-10T11:38:47+13:00 (5 years ago)
Author:
kjdon
Message:

only generate english versions for now as ru, fr, es haven't been translated since 2.70

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/generate-html.sh

    r27035 r33783  
    11#!/bin/bash
    22
    3 # Usage: ./generate-html.sh [<gs-major-version-number]
     3# Usage: ./generate-html.sh [<gs-major-version-number>]
    44# The optional parameter major version number, which can be 2 or 3, will be assumed to be (Greenstone) "2" if none is provided
    55if [ "$GSDLHOME" == "" ]; then
    66    echo "You must run 'source setup.bash' in the top level folder of your Greenstone installation before running this script"
    7     echo "Usage: $0 [gs-major-version-number=2]"
     7    echo "Usage: $0 [<gs-major-version-number-either-2-or-3>]"
    88    exit
    99fi
     
    3838fi
    3939
    40 langs="en fr es ru"
     40langs="en"
     41
     42# no point generating all langs as the translations haven't changed since 2.70
     43# if they did get retranslated, add these langs back into the langs var above.
     44oldlangs="fr es ru"
    4145
    4246# http://tadek.pietraszek.org/blog/2006/01/05/messing-up-with-command-line-arguments-in-bash/
Note: See TracChangeset for help on using the changeset viewer.