Changeset 99
- Timestamp:
- 05/11/07 13:58:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r98 r99 206 206 # zcat $tarball |tar -t |grep .spec 207 207 # 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\$' }; 209 209 chomp $specfile; 210 210 my ($fileonly, $dirname) = ($tarball =~ /(([a-zA-Z0-9._-]+)\.tar\.(?:gz|bz2))$/);
Note:
See TracChangeset
for help on using the changeset viewer.