Ignore:
Timestamp:
2019-06-20T22:39:48+12:00 (5 years ago)
Author:
wy59
Message:

First part of commit: following Dr Bainbridge's suggestion for how best to determine what phase of building we're in from within doc.pm. Needs a package level variable, used existing coding pattern in the file that used the our keyword.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/export.pl

    r28704 r33171  
    6969#no strict 'subs'; # allow barewords (eg STDERR) as function arguments
    7070use inexport;
     71use doc; # for the variable our $cmd_line_mode ($doc::cmd_line_mode)
    7172
    7273
     
    147148sub main
    148149{
     150    $doc::cmd_line_mode = "export";
     151
    149152    my $inexport = new inexport("export",\@ARGV,$options,$listall_options);
    150153   
Note: See TracChangeset for help on using the changeset viewer.