Changeset 157
- Timestamp:
- 02/01/11 17:21:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r155 r157 969 969 my $prepscriptfile = "$tmpdir/deb-tmp.prep.".int(rand(99998)+1); 970 970 sysopen(PREPSCRIPT, $prepscriptfile, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW) 971 or die $!;971 or die "Can't open/create prep script file $prepscriptfile: $!\n"; 972 972 print PREPSCRIPT $scriptletbase; 973 973 print PREPSCRIPT $prepscript; … … 993 993 my $buildscriptfile = "$tmpdir/deb-tmp.build.".int(rand(99998)+1); 994 994 sysopen(BUILDSCRIPT, $buildscriptfile, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW) 995 or die $!;995 or die "Can't open/create build script file $buildscriptfile: $!\n"; 996 996 print BUILDSCRIPT $scriptletbase; 997 997 print BUILDSCRIPT $buildscript; … … 1032 1032 my $installscriptfile = "$tmpdir/deb-tmp.inst.".int(rand(99998)+1); 1033 1033 sysopen(INSTSCRIPT, $installscriptfile, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW) 1034 or die $!;1034 or die "Can't open/create install script file $installscriptfile: $!\n"; 1035 1035 print INSTSCRIPT $scriptletbase; 1036 1036 print INSTSCRIPT $installscript; … … 1218 1218 my $debscriptfile = "$tmpdir/deb-tmp.pkg.".int(rand(99998)+1); 1219 1219 sysopen(DEBSCRIPT, $debscriptfile, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW) 1220 or die $!;1220 or die "Can't open/create package-creation script file $debscriptfile: $!\n"; 1221 1221 print DEBSCRIPT $scriptletbase; 1222 1222 print DEBSCRIPT "fakeroot dpkg-deb -b $specglobals{buildroot}/$pkg $topdir/DEBS/$pkgdata{$pkg}{arch}/".
Note:
See TracChangeset
for help on using the changeset viewer.