Changeset 473 in ProjectBuilder for devel/pb/lib/ProjectBuilder
- Timestamp:
- Jun 4, 2008, 3:04:36 AM (16 years ago)
- Location:
- devel/pb/lib/ProjectBuilder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/ProjectBuilder/Changelog.pm
r415 r473 133 133 $tmp = <INPUT>; 134 134 if ($dtype eq "announce") { 135 print $OUTPUT $tmp; 135 chomp($tmp); 136 print $OUTPUT "$tmp<br>\n"; 136 137 } 137 138 $tmp = <INPUT>; 138 139 if ($dtype eq "announce") { 139 print $OUTPUT $tmp; 140 chomp($tmp); 141 print $OUTPUT "$tmp<br>\n"; 140 142 } 141 143 … … 180 182 print $OUTPUT "$tmp"; 181 183 } else { 182 print $OUTPUT "$tmp"; 184 chomp($tmp); 185 print $OUTPUT "$tmp<br>\n"; 183 186 } 184 187 last if (eof(INPUT)); -
devel/pb/lib/ProjectBuilder/Filter.pm
r462 r473 166 166 pb_log(2,"DEBUG: From $f to $destfile\n"); 167 167 pb_mkdir_p(dirname($destfile)) if (! -d dirname($destfile)); 168 open(DEST,"> $destfile") || die "Unable to create $destfile ";168 open(DEST,"> $destfile") || die "Unable to create $destfile: $!"; 169 169 open(FILE,"$f") || die "Unable to open $f: $!"; 170 170 while (<FILE>) {
Note:
See TracChangeset
for help on using the changeset viewer.