sci-libs/itpp: Add missing || die
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 26 Aug 2018 10:01:09 +0000 (12:01 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 26 Aug 2018 11:02:22 +0000 (13:02 +0200)
Package-Manager: Portage-2.3.48, Repoman-2.3.10

sci-libs/itpp/itpp-4.3.1-r1.ebuild

index 3abddec3041bfe3e23d22e804e8bb9066b3b8645..53cdbee6564ea1a10bc6e7b0a14f0953052b4b60 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -37,8 +37,8 @@ src_prepare() {
                itpp/CMakeLists.txt || die
 
        # respect gentoo libdir
-       sed -i "s#/lib#/$(get_libdir)#" itpp-config.cmake.in
-       sed -i "s#/lib#/$(get_libdir)#" itpp.pc.cmake.in
+       sed -i "s#/lib#/$(get_libdir)#" itpp-config.cmake.in || die
+       sed -i "s#/lib#/$(get_libdir)#" itpp.pc.cmake.in || die
        sed -i \
                -e "s#LIBRARY DESTINATION lib#LIBRARY DESTINATION $(get_libdir)#" \
                -e "s#ARCHIVE DESTINATION lib#ARCHIVE DESTINATION $(get_libdir)#" \