Changeset 12287 for trunk/gli/makejar.sh


Ignore:
Timestamp:
2006-07-24T15:06:16+12:00 (18 years ago)
Author:
kjdon
Message:

Made these POSIX compliant (I think) based on patch and comments sent in by James Strother.
changed [ a == b] to [a = b], = "" to = "x", removed popd and pushd. changed source to .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/makejar.sh

    r11801 r12287  
    66thisdir=`pwd`
    77if [ ! -f "${thisdir}/makejar.sh" ]; then
    8     if [ "$glilang" == "es" ]; then
     8    if [ "$glilang" = "es" ]; then
    99        echo "Este guión deberá ejecutarse desde el directorio en el que reside."
    10     elif [ "$glilang" == "fr" ]; then
     10    elif [ "$glilang" = "fr" ]; then
    1111    echo "Ce script doit être exécuté à partir du répertoire dans lequel il se trouve."
    12     elif [ "$glilang" == "ru" ]; then
     12    elif [ "$glilang" = "ru" ]; then
    1313    echo "üÔÏÔ ÓËÒÉÐÔ ÄÏÌÖÅÎ ÂÙÔØ ×ÚÑÔ ÉÚ ÄÉÒÅËÔÏÒÉÉ, × ËÏÔÏÒÏÊ ÏÎ ÒÁÓÐÏÌÏÖÅÎ"
    1414    else
     
    2121if [ ! -f "classes/org/greenstone/gatherer/GathererProg.class" ]; then
    2222    echo
    23     if [ "$glilang" == "es" ]; then
     23    if [ "$glilang" = "es" ]; then
    2424    echo "Usted necesita compilar la Interfaz de la Biblioteca Digital Greenstone"
    2525    echo "(por medio de makegli.sh) antes de ejecutar este guión."
    26     elif [ "$glilang" == "fr" ]; then
     26    elif [ "$glilang" = "fr" ]; then
    2727    echo "Vous devez compiler le Greenstone Interface (en utilisant makegli.sh)"
    2828    echo "avant d'exécuter ce script."
    29     elif [ "$glilang" == "ru" ]; then
     29    elif [ "$glilang" = "ru" ]; then
    3030    echo "÷Ù ÄÏÌÖÎÙ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÂÉÂÌÉÏÔÅÞÎÙÊ ÉÎÔÅÒÆÅÊÓ Greenstone"
    3131    echo "(ÉÓÐÏÌØÚÕÑ makegli.sh) ÐÅÒÅÄ ××ÏÄÏÍ ÜÔÏÇÏ ÓËÒÉÐÔÁ"
     
    8080
    8181# ---- Make signed JAR file for the applet, if desired ----
    82 if [ "$1" == "-sign" ]; then
     82if [ "$1" = "-sign" ]; then
    8383    rm -f SignedGatherer.jar
    8484    echo "greenstone" | jarsigner -keystore .greenstonestore -signedjar SignedGatherer.jar GLI.jar privateKey 2> /dev/null
Note: See TracChangeset for help on using the changeset viewer.