Changeset 38754 for main/trunk
- Timestamp:
- 2024-02-20T11:56:37+13:00 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/full-rebuild.pl
r38358 r38754 57 57 print STDERR " as is, such as -verbosity 5. This value will be passed to both programs.\n"; 58 58 print STDERR " If a minus option is specific to one of the programs in particular, then prefix\n"; 59 print STDERR " it with ' import:', 'buildcol:', or 'activate:' respectively, \n";59 print STDERR " it with '-import:', '-buildcol:', or '-activate:' respectively, \n"; 60 60 print STDERR " as in '-import:OIDtype hash_on_full_filename'\n"; 61 print STDERR " If a minus option has no value, prefix it with\n"; 62 print STDERR " '-importflag:', '-buildcolflag:', '-activateflag:'\n"; 63 print STDERR " as in '-activateflag:skipactivation'\n"; 61 64 print STDERR " Run '(full-)import.pl -h', '(full-)buildcol.pl -h', 'activate.pl -h' from the \n"; 62 65 print STDERR " command line to see the specific values they take.\n"; 63 print STDERR " Note, if you want to skip the actual activation on the server, add '-activate:skipactivation 0'\n";64 66 print STDERR "\n"; 65 67 … … 118 120 push(@import_argv,$import_arg,$import_val); 119 121 } 122 elsif ($arg =~ /-importflag:(.*)$/) { 123 my $import_arg = "-".$1; 124 push(@import_argv, $import_arg); 125 } 120 126 elsif ($arg =~ /-buildcol:(.*)$/) { 121 127 my $buildcol_arg = "-".$1; … … 123 129 push(@buildcol_argv,$buildcol_arg,$buildcol_val); 124 130 } 131 elsif ($arg =~ /-buildcolflag:(.*)$/) { 132 my $buildcol_arg = "-".$1; 133 push(@buildcol_argv,$buildcol_arg); 134 } 125 135 elsif ($arg =~ /-activate:(.*)$/) { 126 136 my $activate_arg = "-".$1; 127 137 my $activate_val = shift @argv; 128 138 push(@activate_argv,$activate_arg,$activate_val); 139 } 140 elsif ($arg =~ /-activateflag:(.*)$/) { 141 my $activate_arg = "-".$1; 142 push(@activate_argv,$activate_arg); 129 143 } 130 144 elsif ($arg eq "-library_url" || $arg eq "-library_name") {
Note:
See TracChangeset
for help on using the changeset viewer.