Skip to content

Commit

Permalink
build_version updater script updated %)
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Maxxx committed Jun 5, 2017
1 parent c481dca commit d786988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version_make_progress.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
# increments the real number held in version.h by 0.01

read line < src/version_build.h
read line < src/version/version_build.h
tokens=($line)
version=${tokens[2]}
newversion=$(echo $version + 1 | bc)
echo "#define BUILD_NUMBER $newversion" > src/version_build.h
echo "#define BUILD_NUMBER $newversion" > src/version/version_build.h

0 comments on commit d786988

Please sign in to comment.