Changeset 20923 for gsdl/trunk/setup.bash
- Timestamp:
- 2009-11-10T17:23:59+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/setup.bash
r20855 r20923 271 271 272 272 273 273 # if the Perl-for-greenstone tarfile has been installed in the bin/linux 274 # folder, then we set things up to use that, instead of a system perl 275 if [ -d "$GSDLHOME/bin/$GSDLOS/perl" ] ; then 276 PATH=$GSDLHOME/bin/$GSDLOS/perl/bin:$PATH 277 export PATH 278 LD_LIBRARY_PATH=$GSDLHOME/bin/$GSDLOS/perl/lib/5.8.9/i686-linux-thread-multi/CORE:$LD_LIBRARY_PATH 279 export LD_LIBRARY_PATH 280 if [ "x$PERL5LIB" = "x" ] ; then 281 PERL5LIB=$GSDLHOME/bin/$GSDLOS/perl/lib 282 else 283 PERL5LIB=$GSDLHOME/bin/$GSDLOS/perl/lib:$PERL5LIB 284 fi 285 export PERL5LIB 286 echo "" 287 echo "***** Perl installation detected inside Greenstone." 288 echo "Command-line scripts need to be run with \"perl -S ...\"" 289 echo " e.g. perl -S import.pl -removeold demo" 290 echo "" 291 # else we may in future need to update PERL5LIB with some other (further) locations 292 fi
Note:
See TracChangeset
for help on using the changeset viewer.