Mailinglist Archive: opensuse-packaging (216 mails)

< Previous Next >
Re: [opensuse-packaging] Question about script-without-shebang
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Thu, 24 Mar 2011 11:19:03 +0100
  • Message-id: <imf5qn$g6s$2@saturn.local.net>
Claudio Freire wrote:

On Tue, Mar 22, 2011 at 7:47 PM, Sascha Manns <saigkill@xxxxxxxxxxxx>
wrote:
Hello Mates,

atm i'm updating the Packages in medical.

In one case a have a lot of messages like:
freediams.x86_64: W: script-without-shebang
/usr/share/freediams/doc/freediams/en/html/_export/xhtml/en/manuals/freediams/install_usb.xhtml

To solve that i've tried:
for all in %{buildroot}%{_datadir}/%{name}/doc/%{name} `find -type
f`; do
chmod -x $all
done

That command is troublesome.

Try

find "%{buildroot}%{_datadir}/%{name}/doc/%{name}" -type f -exec chmod
-x "{}" +

or

find "%{buildroot}%{_datadir}/%{name}/doc/%{name}" -type f -print0 | xargs -r
-0 chmod -x



--
Per Jessen, Zürich (9.8°C)

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >