Changeset 71
- Timestamp:
- 11/15/06 13:39:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r70 r71 151 151 } 152 152 153 if ($cmdopts{type} eq 'd') { 154 parse_spec(); 155 foreach my $pkg (@pkglist) { 156 $pkgdata{$pkg}{name} =~ tr/_/-/; 157 158 my $pkgfullname = "$pkgdata{$pkg}{name}_$pkgdata{$pkg}{version}-$pkgdata{main}{release}_i386.deb"; 159 160 print "$pkgfullname\n"; 161 } 162 exit 0; 163 } 164 153 165 # Stick --rebuild handling in here - basically install_sdeb() 154 166 # followed by tweaking options to run with -ba … … 282 294 } elsif (/^--rebuild/) { 283 295 $cmdopts{type} = 's'; 296 } elsif (/^--showpkgs/) { 297 $cmdopts{type} = 'd'; # d for 'diagnostic' or 'debug' or 'dump' 284 298 } else { 285 299 print "Long opt $_\n"; … … 323 337 } 324 338 $srcpkg = $_; 325 } elsif ($cmdopts{type} eq 'b' ) {339 } elsif ($cmdopts{type} eq 'b' || $cmdopts{type} eq 'd') { 326 340 # Spec file 327 341 $specfile = $_;
Note:
See TracChangeset
for help on using the changeset viewer.