diff options
author | Joonas Niilola <juippis@gentoo.org> | 2020-06-08 16:16:50 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-08 16:41:25 +0300 |
commit | abff3a81d1fb0f6094b1354e6beff11ee14ec3eb (patch) | |
tree | 9c0a850a4f095181e7465697ab34425fb23d12a2 /app-crypt/loop-aes-losetup | |
parent | sys-fs/loop-aes: Version bump to 3.7q (diff) | |
download | gentoo-abff3a81d1fb0f6094b1354e6beff11ee14ec3eb.tar.gz gentoo-abff3a81d1fb0f6094b1354e6beff11ee14ec3eb.tar.bz2 gentoo-abff3a81d1fb0f6094b1354e6beff11ee14ec3eb.zip |
app-crypt/loop-aes-losetup: add die guard, etc
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/loop-aes-losetup')
-rw-r--r-- | app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild index 0e0be564b397..1c85353f16ee 100644 --- a/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild +++ b/app-crypt/loop-aes-losetup/loop-aes-losetup-2.35.2.ebuild @@ -41,15 +41,15 @@ src_prepare() { lfs_fallocate_test() { # Make sure we can use fallocate with LFS #300307 - cat <<-EOF > "${T}"/fallocate.${ABI}.c + cat <<-EOF > "${T}"/fallocate.${ABI}.c || die #define _GNU_SOURCE #include <fcntl.h> main() { return fallocate(0, 0, 0, 0); } EOF append-lfs-flags - $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \ + $( $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 || die) \ || export ac_cv_func_fallocate=no - rm -f "${T}"/fallocate.${ABI}.c || die + rm "${T}"/fallocate.${ABI}.c || die } src_configure() { |