Last change
on this file since 14979 was 14979, checked in by davidb, 16 years ago |
Mistakenly left in hard-wired FEDORA_HOME. Now removed. Set this prior to running fli.sh
|
-
Property svn:executable
set to
*
|
File size:
737 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | if [ "$glilang" = "es" ]; then
|
---|
4 | PROGNAME="Biblioteca Digital Fedora"
|
---|
5 | elif [ "$glilang" = "fr" ]; then
|
---|
6 | PROGNAME="Bibliothécaire Fedora"
|
---|
7 | elif [ "$glilang" = "ru" ]; then
|
---|
8 | PROGNAME="ÉÎÔÅÒÆÅÊÓ Fedora"
|
---|
9 | else
|
---|
10 | PROGNAME="Fedora Librarian Interface"
|
---|
11 | fi
|
---|
12 | export PROGNAME
|
---|
13 |
|
---|
14 | PROGNAME_EN="Fedora Librarian Interface"
|
---|
15 | export PROGNAME_EN
|
---|
16 |
|
---|
17 | PROGABBR="FLI"
|
---|
18 | export PROGABBR
|
---|
19 |
|
---|
20 |
|
---|
21 |
|
---|
22 | # Test to see if FEDORA environment variables have been set up
|
---|
23 | if [ "x$FEDORA_HOME" = "x" ]; then
|
---|
24 | echo "Error: Cannot find Fedora home. Have set the environment variable 'FEDORA_HOME' ?"
|
---|
25 | exit
|
---|
26 | fi
|
---|
27 | if [ ! -d "$FEDORA_HOME" ]; then
|
---|
28 | echo "Error: Cannot find Fedora home: Not such directory $FEDORA_HOME"
|
---|
29 | exit
|
---|
30 | fi
|
---|
31 |
|
---|
32 | ./gli.sh -fedora_home "$FEDORA_HOME" $*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.