You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/01/05 20:38:51 UTC

cvs commit: modperl-docs/bin build

stas        02/01/05 11:38:51

  Modified:    bin      build
  Log:
  - the build script is more portable now
  
  Revision  Changes    Path
  1.2       +4 -3      modperl-docs/bin/build
  
  Index: build
  ===================================================================
  RCS file: /home/cvs/modperl-docs/bin/build,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build	5 Jan 2002 19:29:53 -0000	1.1
  +++ build	5 Jan 2002 19:38:51 -0000	1.2
  @@ -8,10 +8,11 @@
   
   use FindBin qw($Bin);
   
  -# currently we call 
  -use lib qw($Bin/../lib);
  +# use the local lib for testing + any env vars
  +my $perl5lib = $ENV{PERL5LIB} || $ENV{PERLLIB};
  +my $lib = join ":", grep defined($_), "$Bin/../lib", $perl5lib;
   
   # forward the @ARGV
  -my $command = "docset_build @ARGV $Bin/.. src/config.cfg";
  +my $command = "env PERL5LIB=$lib $Bin/docset_build @ARGV $Bin/.. src/config.cfg";
   #print $command;
   system $command;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org