llvm.org.eclass: [QA] Fix missing eend arg
authorMichał Górny <mgorny@gentoo.org>
Sun, 22 Dec 2019 08:13:42 +0000 (09:13 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 22 Dec 2019 08:26:17 +0000 (09:26 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/llvm.org.eclass

index cef31a087798a087ec095a32e23b93ff6cd2836e..d9ea22ab2acafcedb976e9cde5eaca83dd9c681c 100644 (file)
@@ -198,7 +198,7 @@ llvm.org_src_unpack() {
                        tar -x -z -o --strip-components 1 \
                                -f "${DISTDIR}/${archive}" \
                                "${components[@]/#/llvm-project-${archive%.tar*}/}" || die
-                       eend
+                       eend ${?}
                else
                        local c archives
                        # TODO: optimize this
@@ -212,7 +212,7 @@ llvm.org_src_unpack() {
                                mkdir -p "${top_dir}" || die
                                tar -C "${top_dir}" -x -J -o --strip-components 1 \
                                        -f "${DISTDIR}/${archives[0]}" "${sub_path}" || die
-                               eend
+                               eend ${?}
                        done
                fi
        fi