From 184afb23a326a5f91c36bcb224e2169cc4cc34c0 Mon Sep 17 00:00:00 2001
From: Till Wegmüller <toasterson@gmail.com>
Date: Sun, 22 Oct 2023 16:36:34 +0200
Subject: [PATCH] Fix. shift was used

---
 tools/jenkinshelper-main.ksh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/jenkinshelper-main.ksh b/tools/jenkinshelper-main.ksh
index 71e174e..715ac43 100755
--- a/tools/jenkinshelper-main.ksh
+++ b/tools/jenkinshelper-main.ksh
@@ -55,7 +55,7 @@
 # we try to be smart and assume that all updates will always touch
 # the components Makefile also (to update COMPONENT_REVISION, etc)
 stage_build_changed() {
-	echo "Last successful commit $2"
+	echo "Last successful commit $1"
 	for f in $(git diff --name-only HEAD^1 | grep Makefile; exit 0); do
 		echo "jenkinshelper: building for ${f%/*}..."
 		curpwd=$(pwd)

--
Gitblit v1.9.3