Revision 12287, 0.8 KB
(checked in by kjdon, 13 years ago)
|
Made these POSIX compliant (I think) based on patch and comments sent in by James Strother.
changed [ a == b] to [a = b], ["$a" = ""] to ["x$a" = "x" ], removed popd and pushd. changed source to .
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | glilang=en |
---|
3 | |
---|
4 | ## -------- Clean up the Greenstone Librarian Interface directory -------- |
---|
5 | |
---|
6 | ## ---- Remove class files ---- |
---|
7 | echo |
---|
8 | if [ "$glilang" = "es" ]; then |
---|
9 | echo "Eliminando los archivos de clase de la Interfaz de la Biblioteca " |
---|
10 | echo "Digital Greenstone..." |
---|
11 | elif [ "$glilang" = "fr" ]; then |
---|
12 | echo "Suppression des fichiers de classe de Greenstone Librarian Interface" |
---|
13 | elif [ "$glilang" = "ru" ]; then |
---|
14 | echo "õÄÁÌÅÎÉÅ ÆÁÊÌÏ× ËÌÁÓÓÁ ÂÉÂÌÉÏÔÅÞÎÏÇÏ ÉÎÔÅÒÆÅÊÓÁ Greenstone" |
---|
15 | else |
---|
16 | echo "Removing the Greenstone Librarian Interface class files..." |
---|
17 | fi |
---|
18 | |
---|
19 | rm -rf GLI.jar |
---|
20 | rm -rf classes/org/greenstone/gatherer/* |
---|
21 | |
---|
22 | if [ "$glilang" = "es" ]; then |
---|
23 | echo "¡Hecho!" |
---|
24 | elif [ "$glilang" = "fr" ]; then |
---|
25 | echo "Terminé!" |
---|
26 | elif [ "$glilang" = "ru" ]; then |
---|
27 | echo "÷ÙÐÏÌÎÅÎÏ!" |
---|
28 | else |
---|
29 | echo "Done!" |
---|
30 | fi |
---|
31 | echo |
---|