https://bugzilla.redhat.com/show_bug.cgi?id=1048618



--- Comment #5 from Christopher Meng <[email protected]> ---
BuildRequires:  dos2unix

may not keep the timestamp, you should use sed and touch to keep that.

for f in `find . -type f`
do
    if `file $f | grep -q CRLF`
    then
         sed '/\/usr\/bin\/env/d' $f > $f.new &&
         touch -r $f $f.new &&
         mv $f.new $f
    fi
done

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to