From 2df175ee57a8319341f4014cb05012fb61d1d1ab Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Sat, 10 Feb 2024 11:33:07 +0400 Subject: [PATCH] dkbuild: cosmetic --- dkbuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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"