Skip to content

Commit

Permalink
kde4-meta.eclass: add missing '|| die' on pushd/popd
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Ospald authored and Michael Palimaka committed Oct 26, 2015
1 parent b047be9 commit d308bf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eclass/kde4-meta.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ kde4-meta_src_extract() {
done
extractlist+=" $(_list_needed_subdirectories)"

pushd "${WORKDIR}" > /dev/null
pushd "${WORKDIR}" > /dev/null || die

# @ECLASS-VARIABLE: KDE4_STRICTER
# @DESCRIPTION:
Expand All @@ -223,7 +223,7 @@ kde4-meta_src_extract() {
mv ${topdir} ${P} || die "Died while moving \"${topdir}\" to \"${P}\""
fi

popd > /dev/null
popd > /dev/null || die

eend $?

Expand Down Expand Up @@ -398,7 +398,7 @@ _change_cmakelists_parent_dirs() {
kde4-meta_change_cmakelists() {
debug-print-function ${FUNCNAME} "$@"

pushd "${S}" > /dev/null
pushd "${S}" > /dev/null || die

comment_all_add_subdirectory ./

Expand Down Expand Up @@ -547,7 +547,7 @@ kde4-meta_change_cmakelists() {
;;
esac

popd > /dev/null
popd > /dev/null || die
}

# @FUNCTION: kde4-meta_src_configure
Expand Down

0 comments on commit d308bf4

Please sign in to comment.