Skip to content

Commit

Permalink
Adapt script to the new version scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhlig1 committed Jun 18, 2018
1 parent 79e53b1 commit 243b43e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions cmake/scripts/fairroot-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@
_major_version=@FAIRROOT_MAJOR_VERSION@
_minor_version=@FAIRROOT_MINOR_VERSION@
_patch_version=@FAIRROOT_PATCH_VERSION@
if [ $_patch_version -eq "00" ]; then
_patch=""
else
_tmp=$(printf '%d' $_patch_version)
_tmp=$((_tmp+96))
_patch=$(printf \\$(printf '%03o' $_tmp))
fi
_version=v-@FAIRROOT_MAJOR_VERSION@.@FAIRROOT_MINOR_VERSION@$_patch

_version=v@FAIRROOT_MAJOR_VERSION@.@FAIRROOT_MINOR_VERSION@.@FAIRROOT_PATCH_VERSION@

_cc=@CMAKE_C_COMPILER@
_cxx=@CMAKE_CXX_COMPILER@
Expand Down

0 comments on commit 243b43e

Please sign in to comment.