The R Project SVN R

Rev

Rev 6994 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6994 Rev 21860
Line 13... Line 13...
13
    }
13
    }
14
}
14
}
15
close bundledesc;
15
close bundledesc;
16
 
16
 
17
foreach $pkg (@pkgs) {
17
foreach $pkg (@pkgs) {
18
    print "\n---- Building package $pkg from bundle $bundle -----\n";
18
    print "\n---- Building package $pkg from bundle $bundle -----";
19
    open pkgdesc, "> $srcdir/$bundle/$pkg/DESCRIPTION" 
19
    open pkgdesc, "> $srcdir/$bundle/$pkg/DESCRIPTION" 
20
	|| die "cannot write $pkg/DESCRIPTION";
20
	|| die "cannot write $pkg/DESCRIPTION";
21
    if (open pkgdescin, "< $srcdir/$bundle/$pkg/DESCRIPTION.in") {
21
    if (open pkgdescin, "< $srcdir/$bundle/$pkg/DESCRIPTION.in") {
22
	while(<pkgdescin>) { print pkgdesc $_; }
22
	while(<pkgdescin>) { print pkgdesc $_; }
23
	close pkgdescin;
23
	close pkgdescin;