Changeset 99 for trunk


Ignore:
Timestamp:
05/11/07 13:58:42 (18 years ago)
Author:
kdeugau
Message:

/trunk

Bugfix for -t[pciba] - make sure we specify a .spec file with a literal
match on \.spec$. Note that rpmbuild will happily match on any .spec
file in the archive, so we do too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r98 r99  
    206206  # zcat $tarball |tar -t |grep .spec
    207207  # collect some info about the tarball
    208   $specfile = "$topdir/BUILD/". qx { zcat $tarball |tar -t |grep .spec\$ };
     208  $specfile = "$topdir/BUILD/". qx { zcat $tarball |tar -t |grep -e '[\.]spec\$' };
    209209  chomp $specfile;
    210210  my ($fileonly, $dirname) = ($tarball =~ /(([a-zA-Z0-9._-]+)\.tar\.(?:gz|bz2))$/);
Note: See TracChangeset for help on using the changeset viewer.