Shebang

Bug #743045 reported by Fabian Affolter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyInputStats
Fix Committed
Undecided
Unassigned

Bug Description

The files below all have a shebang but the permission is 644.

- pyinputstatsmodules/{database.py,__init__.py,gui.py,collector.py,helpers.py}
- pygtk_chart/{chart.py,__init__.py,label.py,chart_object.py,pie_chart.py,basics.py,line_chart.py}

For the RPM package I will remove all shebangs. Can you please check if the shebangs are needed by a manual installation? Otherwise please remove them. Thanks.

Revision history for this message
Fabian Affolter (fab-fedoraproject) wrote :

This is the code I use in the spec file.

for Files in \
    pyinputstatsmodules/{database.py,__init__.py,gui.py,collector.py,helpers.py} \
    pygtk_chart/{chart.py,__init__.py,label.py,chart_object.py,pie_chart.py,basics.py,line_chart.py} \
    ; do
  %{__sed} -i.orig -e 1d ${Files}
  touch -r ${Files}.orig ${Files}
  %{__rm} ${Files}.orig
done

Revision history for this message
Fabian Affolter (fab-fedoraproject) wrote :

Fix the layout before using it. It seams that launchpad is breaking the line.

Changed in pyinputstats:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.