perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/bin build
Date Sat, 05 Jan 2002 19:38:51 GMT
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


Mime
View raw message