Skip to content

Commit

Permalink
update fetch version command for python3 compatibility
Browse files Browse the repository at this point in the history
json formatting in python3 adds an unexpected comma that is now removed

fixes #63
  • Loading branch information
McFoggy committed Nov 1, 2017
1 parent 5408a5a commit 7682c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


JGITVER_LATEST_VERSION=`curl -s "http://search.maven.org/solrsearch/select?q=g:%22fr.brouillard.oss%22+AND+a:%22jgitver-maven-plugin%22&core=gav&rows=1&wt=json" | python -mjson.tool \
| grep '"v"' | tr -d '"' | tr -d ' ' | cut -d ':' -f 2`
| grep '"v"' | tr -d '", ' | cut -d ':' -f 2`


if [ ! -d "$PWD/.mvn" ]; then
Expand Down

0 comments on commit 7682c25

Please sign in to comment.