Skip to content

Commit

Permalink
Update common
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantil committed Sep 4, 2013
1 parent 3dfb29e commit b18bf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/common
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ get_supported_sbt_version() {
local ctxDir=$1
if _has_buildPropertiesFile $ctxDir; then
sbtVersionLine="$(grep -P '[ \t]*sbt\.version[ \t]*=' "${ctxDir}"/project/build.properties | sed -E -e 's/[ \t\r\n]//g')"
sbtVersion=$(expr "$sbtVersionLine" : 'sbt\.version=\(0\.1[1-2]\.[0-9]\)$')
sbtVersion=$(expr "$sbtVersionLine" : 'sbt\.version=\(0\.1[1-3]\.[0-9]\)$')
if [ "$sbtVersion" != 0 ] ; then
echo "$sbtVersion"
else
Expand Down

0 comments on commit b18bf03

Please sign in to comment.