Changeset 17253 for gsdl/trunk/bin
- Timestamp:
- 2008-09-11T15:30:18+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/build
r14925 r17253 35 35 package build; 36 36 37 use strict; 38 no strict 'refs'; 39 37 40 use FileHandle; 38 41 use File::Copy; … … 65 68 $path_separator . $ENV{'PATH'}; 66 69 70 # all the input option variables 71 my ($optionfile, $indextype, $append, $manifest, $remove_archives, $remove_import, $buildtype, $maxdocs, @download, $collectdir, $site, $dontinstall, $save_archives, $out, $make_writable, $log_events, $event_log_file, $email_events, $mail_server, $statsfile, $event_header); 72 67 73 &parse_args (\@ARGV); 68 74 … … 93 99 94 100 my $cdir = $collectdir; 95 if (defined $site )101 if (defined $site && $site =~ /\w/) 96 102 { 97 103 die "GSDL3HOME not set." unless $ENV{'GSDL3HOME'}; … … 235 241 } 236 242 237 foreach $download_dir (@download) {243 foreach my $download_dir (@download) { 238 244 239 245 # remove any leading or trailing whitespace from filenames (just in case)
Note:
See TracChangeset
for help on using the changeset viewer.