[Minor] minor cleanups

This commit is contained in:
Robert von Burg 2014-10-10 11:54:37 +02:00
parent a4c9cdb490
commit be76ba0871
2 changed files with 6 additions and 5 deletions

View File

@ -85,7 +85,7 @@ fi
if [ -n "${push}" ] ; then
echo "Pushing to origin."
else
echo "NOT pusing to origin."
echo "NOT pushing to origin."
fi
echo ""

View File

@ -87,11 +87,12 @@ done
cd "${root}"
if ! sed -i.bck "s/${old_version}/${new_version}/" "li.strolch.dev/createBundle.sh" 2>/dev/null ; then
fail "${root}/li.strolch.dev/createBundle.sh"
create_script="li.strolch.dev/createBundle.sh"
if ! sed -i.bck "s/${old_version}/${new_version}/" "${create_script}" 2>/dev/null ; then
fail "${root}/${create_script}"
fi
rm -f "${create_script}.bck"
echo -e "\nINFO: Bumped version from ${old_version} to ${new_version}"
exit 0
exit 0