Changeset 22005
- Timestamp:
- 2010-04-30T11:20:32+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/admin/gs3-admin.sh
r18204 r22005 10 10 11 11 ## -------- Run the Greenstone Administrator Interface -------- 12 # Need to run this script from its own directory instead of whichever directory it may be called from 12 13 13 # This script must be run from within the directory in which it lives 14 thisdir=`pwd` 15 if [ ! -f "${thisdir}/gs3-admin.sh" ]; then 16 if [ "$gailang" == "es" ]; then 17 echo "Este guión deberá ejecutarse desde el directorio en el que reside." 18 elif [ "$gailang" == "fr" ]; then 19 echo "Ce script doit être exécuté à partir du répertoire dans lequel il se trouve." 20 elif [ "$gailang" == "ru" ]; then 21 echo "üÔÏÔ ÓËÒÉÐÔ ÄÏÌÖÅÎ ÂÙÔØ ×ÚÑÔ ÉÚ ÄÉÒÅËÔÏÒÉÉ, × ËÏÔÏÒÏÊ ÏÎ ÒÁÓÐÏÌÏÖÅÎ" 22 else 23 echo "This script must be run from the directory in which it resides." 24 fi 25 exit 1 26 fi 27 14 thisdir="`dirname \"$0\"`" 15 thisdir="`cd \"$thisdir\" && pwd`" 16 cd "$thisdir" 28 17 29 18 ## ---- Determine GSDL3HOME ----
Note:
See TracChangeset
for help on using the changeset viewer.