Commit a274c3ee authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

scripts/backport: Get rid of SC2002



shellcheck 0.7.0 complains about it, so let's fix it.

Change-Id: I01df56cc0253709651c052d63747842f30d62f14
Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19917


Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarWojciech Panfil <wojciech.panfil@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
parent 74519d80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ while read -r line; do
	# Removing new commit to cherry-pick from the list
	tail -n +2 "$CHERRY_PICK_TEMP" > "$CHERRY_PICK_TEMP.tmp" && mv "$CHERRY_PICK_TEMP.tmp" "$CHERRY_PICK_TEMP"

	REMAINING=$(cat $CHERRY_PICK_TEMP | wc -l)
	REMAINING=$(wc -l < "$CHERRY_PICK_TEMP")
	NR=$((TOTAL - REMAINING))
	echo "Currently at $NR, remaining $REMAINING"