Comment 5 for bug 993414

Revision history for this message
Alec Leamas (leamas-alec) wrote :

Complete list of packaging errors. Almost all of them are related to the commands above. The exact snippet in my specfile to rectify the situation below. This is astonishly long list of commands in such a context ;)

# https://bugs.launchpad.net/bugs/993414
find . -name \*.py -a -perm 644 | \
    xargs sed -i -e '\;/usr/bin/env;d' -e '\;/usr/bin/python;d'
find . -name \*.html -o -name \*yml -o -name \*.js -o -name \*.po \
    -o -name \*.css -o -iname readme* -o -name \*.csv \
    -o -name account_asset_change_duration.py \
    -o -name base_quality_interrogation.py |
        xargs chmod 644
chmod 644 $( find openerp/addons/account_asset -name \*.py )
chmod 644 openerp/addons/l10n_ch/test/test*.v11

find . -name \*.html | xargs sed -i 's/\r//'
sed -i 's/\r//' openerp/addons/l10n_ch/test/test*.v11
sed -i 's/\r//' openerp/addons/account_asset/security/ir.model.access.csv

find . -name .hg_* | xargs rm -f
rm -f openerp/addons/.bzrignore