Double quote args passed inside the shell scripts, to fix #171480.

i9fe
Matthias Saou 20 years ago
parent 2b5a680eb8
commit e5919d057d

@ -1,7 +1,7 @@
Summary: Very high compression ratio file archiver Summary: Very high compression ratio file archiver
Name: p7zip Name: p7zip
Version: 4.29 Version: 4.29
Release: 2%{?dist} Release: 3%{?dist}
License: LGPL License: LGPL
Group: Applications/Archiving Group: Applications/Archiving
URL: http://p7zip.sourceforge.net/ URL: http://p7zip.sourceforge.net/
@ -31,12 +31,12 @@ This package contains also a virtual file system for Midnight Commander.
# same directory as the binaries, and we don't want them in %{_bindir}. # same directory as the binaries, and we don't want them in %{_bindir}.
%{__cat} << 'EOF' > 7za.sh %{__cat} << 'EOF' > 7za.sh
#!/bin/sh #!/bin/sh
exec %{_libexecdir}/p7zip/7za $@ exec %{_libexecdir}/p7zip/7za "$@"
EOF EOF
%{__cat} << 'EOF' > 7z.sh %{__cat} << 'EOF' > 7z.sh
#!/bin/sh #!/bin/sh
exec %{_libexecdir}/p7zip/7z $@ exec %{_libexecdir}/p7zip/7z "$@"
EOF EOF
%build %build
@ -87,6 +87,9 @@ EOF
%changelog %changelog
* Thu Oct 27 2005 Matthias Saou <http://freshrpms.net/> 4.29-3
- Double quote args passed inside the shell scripts, to fix #171480.
* Mon Oct 10 2005 Matthias Saou <http://freshrpms.net/> 4.29-2 * Mon Oct 10 2005 Matthias Saou <http://freshrpms.net/> 4.29-2
- Update to 4.29. - Update to 4.29.

Loading…
Cancel
Save