source: gli/trunk/fli.sh@ 14979

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
3if [ "$glilang" = "es" ]; then
4 PROGNAME="Biblioteca Digital Fedora"
5elif [ "$glilang" = "fr" ]; then
6 PROGNAME="Bibliothécaire Fedora"
7elif [ "$glilang" = "ru" ]; then
8 PROGNAME="ÉÎÔÅÒÆÅÊÓ Fedora"
9else
10 PROGNAME="Fedora Librarian Interface"
11fi
12export PROGNAME
13
14PROGNAME_EN="Fedora Librarian Interface"
15export PROGNAME_EN
16
17PROGABBR="FLI"
18export PROGABBR
19
20
21
22# Test to see if FEDORA environment variables have been set up
23if [ "x$FEDORA_HOME" = "x" ]; then
24 echo "Error: Cannot find Fedora home. Have set the environment variable 'FEDORA_HOME' ?"
25 exit
26fi
27if [ ! -d "$FEDORA_HOME" ]; then
28 echo "Error: Cannot find Fedora home: Not such directory $FEDORA_HOME"
29 exit
30fi
31
32./gli.sh -fedora_home "$FEDORA_HOME" $*
Note: See TracBrowser for help on using the repository browser.