source: trunk/gli/clean.sh@ 12287

Last change on this file since 12287 was 12287, checked in by kjdon, 18 years ago

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 .

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 817 bytes
RevLine 
[4924]1#!/bin/sh
[6752]2glilang=en
[4945]3
[5009]4## -------- Clean up the Greenstone Librarian Interface directory --------
5
6## ---- Remove class files ----
[10422]7echo
[12287]8if [ "$glilang" = "es" ]; then
[6741]9 echo "Eliminando los archivos de clase de la Interfaz de la Biblioteca "
10 echo "Digital Greenstone..."
[12287]11elif [ "$glilang" = "fr" ]; then
[6708]12 echo "Suppression des fichiers de classe de Greenstone Librarian Interface"
[12287]13elif [ "$glilang" = "ru" ]; then
[6703]14 echo "õÄÁÌÅÎÉÅ ÆÁÊÌÏ× ËÌÁÓÓÁ ÂÉÂÌÉÏÔÅÞÎÏÇÏ ÉÎÔÅÒÆÅÊÓÁ Greenstone"
15else
16 echo "Removing the Greenstone Librarian Interface class files..."
17fi
[5009]18
[9463]19rm -rf GLI.jar
20rm -rf classes/org/greenstone/gatherer/*
[4945]21
[12287]22if [ "$glilang" = "es" ]; then
[6740]23 echo "¡Hecho!"
[12287]24elif [ "$glilang" = "fr" ]; then
[6708]25 echo "Terminé!"
[12287]26elif [ "$glilang" = "ru" ]; then
[6703]27 echo "÷ÙÐÏÌÎÅÎÏ!"
28else
29 echo "Done!"
[10422]30fi
31echo
Note: See TracBrowser for help on using the repository browser.