[packages/rpm] - no need for subshell

baggins baggins at pld-linux.org
Sun Sep 16 09:30:38 CEST 2012


commit 8c5489a1722ffcfa4d0fa1f9077dbe323099cfb5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Sep 16 09:30:26 2012 +0200

    - no need for subshell

 rpm-missing-patch-file-fails-build.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm-missing-patch-file-fails-build.patch b/rpm-missing-patch-file-fails-build.patch
index 9264614..0bce7d5 100644
--- a/rpm-missing-patch-file-fails-build.patch
+++ b/rpm-missing-patch-file-fails-build.patch
@@ -7,7 +7,7 @@ Fix for http://rpm5.org/cvs/tktview?tn=41
  %define __patch_fuzz    %{?_default_patch_fuzz:%(test %{_default_patch_fuzz} -ge 0 && echo "--fuzz=%{_default_patch_fuzz} ")} \
  %define __patch_options %{_default_patch_flags} %{-p:-p%{-p*}} %{-F:-F%{-F*}} %{-d:-d%{-d*}} %{-R} %{-E} %{__patch_suffix} \
 -echo "Patch #%{__patch_number} (%{basename:%{__patch_file}}):" && ( %{uncompress:%{__patch_file}} | %{__patch} %{__patch_fuzz}%{__patch_options} ) || exit 1\
-+echo "Patch #%{__patch_number} (%{basename:%{__patch_file}}):" && [ -f %{__patch_file} ] && ( %{uncompress:%{__patch_file}} | %{__patch} %{__patch_fuzz}%{__patch_options} ) || exit 1\
++echo "Patch #%{__patch_number} (%{basename:%{__patch_file}}):" && [ -f %{__patch_file} ] && %{uncompress:%{__patch_file}} | %{__patch} %{__patch_fuzz}%{__patch_options} || exit 1\
  }
  
  #
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/8c5489a1722ffcfa4d0fa1f9077dbe323099cfb5



More information about the pld-cvs-commit mailing list