Changeset 2506 in ProjectBuilder


Ignore:
Timestamp:
Apr 1, 2020, 5:06:35 PM (4 years ago)
Author:
Bruno Cornec
Message:

Fix #171 by passing undef -not 0 - for pbinit param to env_init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/bin/pbgetparam

    r2496 r2506  
    6363=head1 ARGUMENTS
    6464
    65 Arguments is mandatory and corresponds to the parameter whose value is requested for the related distribution tuple.
     65Argument is mandatory and corresponds to the parameter whose value is requested for the related distribution tuple.
    6666
    6767=head1 WEB SITES
     
    9797pb_syntax_init("$appname Version $projectver-$projectrev\n");
    9898pb_temp_init();
    99 pb_conf_init($appname);
    10099
    101100GetOptions(
     
    122121pb_log_init($pbdebug, \*STDOUT);
    123122
     123pb_env_init($opts{'p'},undef,"getconf");
     124
    124125my $dist = $opts{'d'};
    125126my $pbos = pb_distro_get_context($dist);
    126 pb_env_init($opts{'p'},0,"getconf",0);
    127127
    128128my @tab = @ARGV;
Note: See TracChangeset for help on using the changeset viewer.