Changeset 20 for trunk


Ignore:
Timestamp:
11/14/05 16:34:04 (19 years ago)
Author:
kdeugau
Message:

/trunk

Tweak readability on processing to determine options for tar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r19 r20  
    357357              $tarballdir = "$pkgdata{main}{name}-$pkgdata{main}{version}";
    358358            }
    359             $prepscript .= "rm -rf $tarballdir\ntar -".
     359            $prepscript .= "rm -rf $tarballdir\ntar -xf".
    360360                ( $pkgdata{main}{source} =~ /\.tar\.gz$/ ? "z" : "" ).
    361361                ( $pkgdata{main}{source} =~ /\.tar\.bz2$/ ? "j" : "" ).
    362                 "x".( /\s+-q\s+/ ? '' : 'vv' )."f ".
    363                 "$topdir/SOURCES/$pkgdata{main}{source}\n".
     362                ( /\s+-q\s+/ ? '' : 'vv' ).
     363                " $topdir/SOURCES/$pkgdata{main}{source}\n".
    364364                qq(STATUS=\$?\nif [ \$STATUS -ne 0 ]; then\n  exit \$STATUS\nfi\n).
    365365                ( /\s+-n\s+([^\s]+)\s+/ ?
Note: See TracChangeset for help on using the changeset viewer.