diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-10-21 15:45:57 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-10-21 15:45:57 -0400 |
commit | 300e71f39059f78b8ec70a0bbfcf64efa667a7e4 (patch) | |
tree | 8318a318e25b3a609972aeb29db7542003f1b358 /sys-libs/musl | |
parent | sys-libs/musl: switch to git-r3 (diff) | |
download | gentoo-300e71f39059f78b8ec70a0bbfcf64efa667a7e4.tar.gz gentoo-300e71f39059f78b8ec70a0bbfcf64efa667a7e4.tar.bz2 gentoo-300e71f39059f78b8ec70a0bbfcf64efa667a7e4.zip |
sys-libs/musl: add `|| die` for touch
Thanks hasufell.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sys-libs/musl')
-rw-r--r-- | sys-libs/musl/musl-1.1.12.ebuild | 2 | ||||
-rw-r--r-- | sys-libs/musl/musl-9999.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/musl/musl-1.1.12.ebuild b/sys-libs/musl/musl-1.1.12.ebuild index 10a56ce8c87f..016d210b7bdf 100644 --- a/sys-libs/musl/musl-1.1.12.ebuild +++ b/sys-libs/musl/musl-1.1.12.ebuild @@ -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 "";; diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index 10a56ce8c87f..016d210b7bdf 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -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 "";; |