Remove superfluous variable declaration

This commit is contained in:
Joshua Boniface 2019-03-30 12:58:39 -04:00
parent 31aa6c486c
commit 891a03c038
1 changed files with 0 additions and 1 deletions

View File

@ -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