Skip to content

The Free Software Media System - Server Backend & API

Remove superfluous variable declaration

Joshua Boniface891a03c038e8
diff --git a/bump_version b/bump_version
index d2560ff1e2..b118af54b9 100755
--- a/bump_version
+++ b/bump_version
@@ -66,7 +66,6 @@ old_version="$(
)"
old_version_sed="$( sed 's/\./\\./g' <<<"${old_version}" )" # Escape the '.' chars
-new_version_sed="$( cut -f1 -d'-' <<<"${new_version}" )"
sed -i "s/${old_version_sed}/${new_version}/g" ${build_file}
if [[ ${new_version} == *"-"* ]]; then