Changeset 19392 for gli/trunk/client-gli.sh
- Timestamp:
- 2009-05-11T18:42:47+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/client-gli.sh
r19355 r19392 52 52 53 53 ## -------- Run the Greenstone Librarian Interface -------- 54 55 # This script must be run from within the directory in which it lives 56 thisdir=`pwd` 57 if [ ! -f "${thisdir}/client-gli.sh" ]; then 58 if [ "$glilang" = "es" ]; then 59 echo "Este guión deberá ejecutarse desde el directorio en el que reside." 60 elif [ "$glilang" = "fr" ]; then 61 echo "Ce script doit être exécuté à partir du répertoire dans lequel il se trouve." 62 elif [ "$glilang" = "ru" ]; then 63 echo "üÔÏÔ ÓËÒÉÐÔ ÄÏÌÖÅÎ ÂÙÔØ ×ÚÑÔ ÉÚ ÄÉÒÅËÔÏÒÉÉ, × ËÏÔÏÒÏÊ ÏÎ ÒÁÓÐÏÌÏÖÅÎ" 64 else 65 echo "This script must be run from the directory in which it resides." 66 fi 67 exit 1 68 fi 54 # Need to run this script from its own directory instead of whichever directory it may be called from 55 #currentdir=$(cd `dirname "$0"` && pwd) 56 thisdir="`dirname \"$0\"`" 57 thisdir="`cd \"$thisdir\" && pwd`" 58 cd "$thisdir" 69 59 70 60 ## ---- findJava ----
Note:
See TracChangeset
for help on using the changeset viewer.