source: main/trunk/gli/clean.sh@ 31860

Last change on this file since 31860 was 12287, checked in by kjdon, 14 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
Line 
1#!/bin/sh
2glilang=en
3
4## -------- Clean up the Greenstone Librarian Interface directory --------
5
6## ---- Remove class files ----
7echo
8if [ "$glilang" = "es" ]; then
9 echo "Eliminando los archivos de clase de la Interfaz de la Biblioteca "
10 echo "Digital Greenstone..."
11elif [ "$glilang" = "fr" ]; then
12 echo "Suppression des fichiers de classe de Greenstone Librarian Interface"
13elif [ "$glilang" = "ru" ]; then
14 echo "õÄÁÌÅÎÉÅ ÆÁÊÌÏ× ËÌÁÓÓÁ ÂÉÂÌÉÏÔÅÞÎÏÇÏ ÉÎÔÅÒÆÅÊÓÁ Greenstone"
15else
16 echo "Removing the Greenstone Librarian Interface class files..."
17fi
18
19rm -rf GLI.jar
20rm -rf classes/org/greenstone/gatherer/*
21
22if [ "$glilang" = "es" ]; then
23 echo "¡Hecho!"
24elif [ "$glilang" = "fr" ]; then
25 echo "Terminé!"
26elif [ "$glilang" = "ru" ]; then
27 echo "÷ÙÐÏÌÎÅÎÏ!"
28else
29 echo "Done!"
30fi
31echo
Note: See TracBrowser for help on using the repository browser.