sys-libs/musl: add `|| die` for touch
authorAnthony G. Basile <blueness@gentoo.org>
Wed, 21 Oct 2015 19:45:57 +0000 (15:45 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Wed, 21 Oct 2015 19:45:57 +0000 (15:45 -0400)
Thanks hasufell.

Package-Manager: portage-2.2.20.1

sys-libs/musl/musl-1.1.12.ebuild
sys-libs/musl/musl-9999.ebuild

index 10a56ce8c87fd16157d603d1ce03764318182fa7..016d210b7bdf112c8cec914cb00aa483232ff107 100644 (file)
@@ -42,7 +42,7 @@ just_headers() {
 
 musl_endian() {
        # XXX: this wont work for bi-endian, but we dont have any
-       touch "${T}"/endian.s
+       touch "${T}"/endian.s || die
        $(tc-getAS ${CTARGET}) "${T}"/endian.s -o "${T}"/endian.o
        case $(file "${T}"/endian.o) in
                *" MSB "*) echo "";;
index 10a56ce8c87fd16157d603d1ce03764318182fa7..016d210b7bdf112c8cec914cb00aa483232ff107 100644 (file)
@@ -42,7 +42,7 @@ just_headers() {
 
 musl_endian() {
        # XXX: this wont work for bi-endian, but we dont have any
-       touch "${T}"/endian.s
+       touch "${T}"/endian.s || die
        $(tc-getAS ${CTARGET}) "${T}"/endian.s -o "${T}"/endian.o
        case $(file "${T}"/endian.o) in
                *" MSB "*) echo "";;