Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88e531c9 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Gagan Malvi
Browse files

setlocalversion: Never append a "+" to localversion

parent 76e3d9b1
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -160,15 +160,6 @@ res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
	# full scm version string
	res="$res$(scm_version)"
else
	# append a plus sign if the repository is not in a clean
	# annotated or signed tagged state (as git describe only
	# looks at signed or annotated tags - git tag -a/-s) and
	# LOCALVERSION= is not specified
	if test "${LOCALVERSION+set}" != "set"; then
		scm=$(scm_version --short)
		res="$res${scm:++}"
	fi
fi

echo "$res"