Changeset 35417 for main/trunk
- Timestamp:
- 2021-09-17T17:05:12+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/setup.bash
r34111 r35417 68 68 fi 69 69 70 70 71 if test -n "$gsdl_not_sourced" ; then 71 72 case "$gsdllang" in … … 115 116 case "$gsdllang" in 116 117 "es") 117 echo '¡Su ambiente ya está listo para Greenstone!'| eval $gsdliconv118 echo "¡Su ambiente ya está listo para $GSDL2_DESC!" | eval $gsdliconv 118 119 ;; 119 120 "fr") 120 echo 'Votre environnement est déjà préparé pour Greenstone!'| eval $gsdliconv121 echo "Votre environnement est déjà préparé pour $GSDL2_DESC!" | eval $gsdliconv 121 122 ;; 122 123 "ru") 123 echo '÷ÁÛÅ ÏËÒÕÖÅÎÉÅ ÕÖÅ ÎÁÓÔÒÏÅÎÏ ÄÌÑ Greenstone!'| eval $gsdliconv124 echo "÷ÁÛÅ ÏËÒÕÖÅÎÉÅ ÕÖÅ ÎÁÓÔÒÏÅÎÏ ÄÌÑ $GSDL2_DESC!" | eval $gsdliconv 124 125 ;; 125 126 *) 126 echo 'Your environment is already set up for Greenstone!'127 echo "Your environment is already set up for $GSDL2_DESC!" 127 128 ;; 128 129 esac … … 150 151 GSDLHOME=`pwd` 151 152 export GSDLHOME 153 154 GSDL2_DESC="Greenstone2" 155 if test ${GSDLHOME##*/} = "gs2build" ; then 156 GSDL2_DESC="$GSDL2_DESC-Buildtime" 157 fi 158 export GSDL2_DESC 152 159 153 160 if test "x$GSDLOS" = "x" ; then … … 243 250 case "$gsdllang" in 244 251 "es") 245 echo 'Su ambiente ha sido configurado para correr los programas Greenstone.'| eval $gsdliconv252 echo "Su ambiente ha sido configurado para correr los programas $GSDL2_DESC." | eval $gsdliconv 246 253 ;; 247 254 "fr") 248 echo 'Votre environnement a été configuére avec succès pour exécuter Greenstone'| eval $gsdliconv255 echo "Votre environnement a été configuére avec succès pour exécuter $GSDL2_DESC" | eval $gsdliconv 249 256 ;; 250 257 "ru") 251 258 eval $gsdliconv <<EOF 252 ÷ÁÛÅ ÏËÒÕÖÅÎÉÅ ÂÙÌÏ ÕÓÐÅÛÎÏ ÎÁÓÔÒÏÅÎÏ, ÞÔÏÂÙ ÕÓÔÁÎÏ×ÉÔØ Greenstone259 ÷ÁÛÅ ÏËÒÕÖÅÎÉÅ ÂÙÌÏ ÕÓÐÅÛÎÏ ÎÁÓÔÒÏÅÎÏ, ÞÔÏÂÙ ÕÓÔÁÎÏ×ÉÔØ $GSDL2_DESC 253 260 EOF 254 261 ;; 255 262 *) 256 echo 'Your environment has successfully been set up to run Greenstone'263 echo "Your environment has successfully been set up to run $GSDL2_DESC" 257 264 ;; 258 265 esac … … 370 377 if [ -d "$GSDLHOME/bin/$GSDLOS$GSDLARCH/perl" ] ; then 371 378 372 373 374 375 376 377 379 if [ -d "$GSDLHOME/bin/$GSDLOS$GSDLARCH/perl/bin" ] ; then 380 PERLPATH=$GSDLHOME/bin/$GSDLOS$GSDLARCH/perl/bin 381 export PERLPATH 382 PATH=$PERLPATH:$PATH 383 export PATH 384 fi 378 385 379 386 if test "$GSDLOS" = "linux" ; then … … 393 400 394 401 echo "" 395 echo " ***** Perl installation detected inside Greenstone."396 echo "Command-line scripts need to be run with \"perl -S ...\""397 echo " e.g. perl -S import.pl -removeold demo"398 echo ""402 echo " - Detected Perl installation inside $GSDL2_DESC." 403 # echo "Command-line scripts need to be run with \"perl -S ...\"" 404 # echo " e.g. perl -S import.pl -removeold demo" 405 # echo "" 399 406 # else we may in future need to update PERL5LIB with some other (further) locations 400 407 fi
Note:
See TracChangeset
for help on using the changeset viewer.