diff --git a/dkbuild b/dkbuild index 20df4db..5bfdd04 100755 --- a/dkbuild +++ b/dkbuild @@ -2983,10 +2983,10 @@ function _build_before() { PREV_PROFILE= } function _build_each() { - if [ "$PROFILE-$PVERSION" != "$PREV_PROFILE" ]; then - [ -n "$PREV_PROFILE" ] && eend - fi if [ -n "$DIST" -a "$DIST-$DVERSION" != "$PREV_DIST" ]; then + [ -n "$PREV_PROFILE" ] && eend + PREV_PROFILE= + [ -n "$PREV_DIST" ] && eend PREV_DIST="$DIST-$DVERSION" etitle "Distribution ${DVERSION:+$DVERSION-}$DIST" @@ -3128,10 +3128,10 @@ function _dump_before() { PREV_PROFILE= } function _dump_each() { - if [ "$PROFILE-$PVERSION" != "$PREV_PROFILE" ]; then - [ -n "$PREV_PROFILE" ] && eend - fi if [ -n "$DIST" -a "$DIST-$DVERSION" != "$PREV_DIST" ]; then + [ -n "$PREV_PROFILE" ] && eend + PREV_PROFILE= + [ -n "$PREV_DIST" ] && eend PREV_DIST="$DIST-$DVERSION" etitle "Distribution ${DVERSION:+$DVERSION-}$DIST"