Changeset 44
- Timestamp:
- 02/24/06 16:13:39 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r43 r44 682 682 foreach my $pkgfile (@pkgfilelist) { 683 683 $pkgfile = expandmacros($pkgfile, 'gp'); 684 my @filepath = ($pkgfile =~ m|(.+)/([^/]+)$|);685 qx { mkdir -p $buildroot/$pkg$f ilepath[0]}686 if $f ilepath[0]ne '';687 qx { mv $buildroot$pkgfile $buildroot/$pkg$f ilepath[0]};684 my ($fpath,$fname) = ($pkgfile =~ m|(.+?/?)?([^/]+)$|); # We don't need $fname now, but we might. 685 qx { mkdir -p $buildroot/$pkg$fpath } 686 if $fpath && $fpath ne ''; 687 qx { mv $buildroot$pkgfile $buildroot/$pkg$fpath }; 688 688 } 689 689
Note:
See TracChangeset
for help on using the changeset viewer.