[packages/microcode-data-intel] omit exit 1, set -e is active

glen glen at pld-linux.org
Sat Sep 9 20:45:18 CEST 2017


commit 4584837acbd03727e2a5fe25cfe9b0cef19e0901
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Sep 9 21:41:46 2017 +0300

    omit exit 1, set -e is active

 microcode-data-intel.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/microcode-data-intel.spec b/microcode-data-intel.spec
index 1633f9e..294eb1f 100644
--- a/microcode-data-intel.spec
+++ b/microcode-data-intel.spec
@@ -47,8 +47,9 @@ fi
 
 %{__cc} %{rpmcflags} %{rpmcppflags} %{rpmldflags} -Wall -o intel-microcode2ucode %{SOURCE1}
 %{__cc} %{rpmcflags} %{rpmcppflags} %{rpmldflags} -Wall -o intel-microcode2ucode-single %{SOURCE2}
-./intel-microcode2ucode microcode.dat > /dev/null || exit 1
-./intel-microcode2ucode-single microcode.dat > /dev/null || exit 1
+
+./intel-microcode2ucode microcode.dat > 1.log
+./intel-microcode2ucode-single microcode.dat > 2.log
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/microcode-data-intel.git/commitdiff/e168b899121889a916f8b7bd3043d957af36c3d4



More information about the pld-cvs-commit mailing list