Skip to content

Commit

Permalink
Remove errant comma in regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
markchalloner authored Apr 4, 2019
1 parent 88d180e commit 1ef1828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/10-setuppy_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function run() {

tmpfile=$(mktemp)
# Extended regexs are purposely avoided for Mac OS and Free BSD compatbility.
sed "s/version[[:blank:]]*=[[:blank:]]*[\",'][0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[\"'][[:blank:]]*,/version=\"${version_new}\",/" < "${git_root}/setup.py" > "${tmpfile}"
sed "s/version[[:blank:]]*=[[:blank:]]*[\"'][0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[\"'][[:blank:]]*,/version=\"${version_new}\",/" < "${git_root}/setup.py" > "${tmpfile}"
cat "${tmpfile}" > "${setuppy_path}"
rm -f "${tmpfile}"

Expand Down

0 comments on commit 1ef1828

Please sign in to comment.