[make-initrd] [PATCH v1 26/41] fork pipeline: bootchain-sh-functions: whitespaces

Leonid Krivoshein klark.devel at gmail.com
Fri Sep 24 18:58:10 MSK 2021


---
  .../data/bin/bootchain-sh-functions           | 24 +++++++++----------
  1 file changed, 12 insertions(+), 12 deletions(-)

diff --git 
a/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions 
b/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions
index 662d069..07a059a 100644
--- a/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions
+++ b/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions
@@ -26,18 +26,18 @@ resolve_target()
  {
  	local target="$1"
  	case "${target%%/*}" in
-		'')
-			;;
-		pipe[0-9]|pipe[0-9][0-9]|pipe[0-9][0-9][0-9])
-			target="$mntdir/dst/$target"
-			;;
-		*)
-			if [ -z "${prevdir-}" ]; then
-				message "no previous stop to use"
-				return
-			fi
-			target="$prevdir/${target#/}"
-			;;
+	'')
+		;;
+	pipe[0-9]|pipe[0-9][0-9]|pipe[0-9][0-9][0-9])
+		target="$mntdir/dst/$target"
+		;;
+	*)
+		if [ -z "${prevdir-}" ]; then
+			message "no previous stop to use"
+			return
+		fi
+		target="$prevdir/${target#/}"
+		;;
  	esac
  	printf '%s' "$target"
  }
-- 
2.21.0




More information about the Make-initrd mailing list