Changeset 1507 for trunk/gsdl/bin/script/build
- Timestamp:
- 2000-09-06T14:14:46+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/build
r1485 r1507 130 130 131 131 foreach $download_dir (@download) { 132 133 # remove any leading or trailing whitespace from filenames (just in case) 134 $download_dir =~ s/^\s+//; 135 $download_dir =~ s/\s+$//; 132 136 133 137 if ($download_dir =~ /^http:\/\//) { … … 141 145 # is a file or directory on the local file system. 142 146 $download_dir =~ s/^file:(\/\/)?//; 147 $download_dir =~ s/^\s+//; # may be whitespace between "file://" and the rest 143 148 144 149 if (-e $download_dir) { … … 152 157 &append_file ($out, "$outfile.download"); 153 158 } else { 154 print $out "WARNING: $download_dirdoes not exist\n";159 print $out "WARNING: '$download_dir' does not exist\n"; 155 160 } 156 161 } … … 184 189 } else { 185 190 # no import or archives 186 print $out "build: ERROR: The $collection collection has no import\n"; 187 print $out " or archives data. Try downloading an unbuilt version\n"; 188 print $out " of the collection from www.nzdl.org\n"; 191 print $out "build: ERROR: The $collection collection has no import or archives data.\n"; 189 192 &final_out (1) if $use_out; 190 193 die "\n";
Note:
See TracChangeset
for help on using the changeset viewer.