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