Fix shebang lines in executables

epel9
David Lutterkort 18 years ago
parent bf901103f3
commit a0148e4944

@ -5,7 +5,7 @@
Summary: A network tool for managing many disparate systems Summary: A network tool for managing many disparate systems
Name: puppet Name: puppet
Version: 0.18.4 Version: 0.18.4
Release: 1%{?dist} Release: 2%{?dist}
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
@ -37,6 +37,11 @@ The server can also function as a certificate authority and file server.
%prep %prep
%setup -q %setup -q
%build
for f in bin/* ; do
sed -i -e '1c#!/usr/bin/ruby' $f
done
%install %install
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_sbindir} %{__install} -d -m0755 %{buildroot}%{_sbindir}
@ -122,6 +127,11 @@ fi
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%changelog %changelog
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-2
- Use /usr/bin/ruby directly instead of /usr/bin/env ruby in
executables. Otherwise, initscripts break since pidof can't find the
right process
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-1 * Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-1
- New version - New version

Loading…
Cancel
Save