[bug-notifications] [cswutils 0004650]: checkpkg: wrong detection of package compression
Mantis Bug Tracker
noreply at opencsw.org
Sun Apr 24 04:50:20 CEST 2011
The following issue has been CLOSED
======================================================================
https://www.opencsw.org/mantis/view.php?id=4650
======================================================================
Reported By: pfelecan
Assigned To: phil
======================================================================
Project: cswutils
Issue ID: 4650
Category: regular use
Reproducibility: always
Severity: block
Priority: high
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2010-12-31 16:40 CET
Last Modified: 2011-04-24 04:50 CEST
======================================================================
Summary: checkpkg: wrong detection of package compression
Description:
The detection of the compression of the package is wrong.
In the following construct:
file $f |sed 's/^.*://' |grep gzip >/dev/null
the sed regex is too greedy when gnulinks package is installed and file is
gfile; the output contains 2 :
The correct construct is:
file $f |sed 's/^[^:]*://' |grep gzip >/dev/null
IMHO the sed is not realy useful...
======================================================================
----------------------------------------------------------------------
(0008992) bwalton (manager) - 2011-04-24 04:50
https://www.opencsw.org/mantis/view.php?id=4650#c8992
----------------------------------------------------------------------
Updated release pushed.
More information about the bug-notifications
mailing list