diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-29 11:05:42 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-19 15:26:36 +0300 |
commit | acaa046e5ec058490ea937d123045e0902169ba2 (patch) | |
tree | 5ccc4583009ba7285eb9d13839cb86c833ee91fb /build_files/utils | |
parent | 74666039102ef5953c4b5c56b23ddf00c9b22693 (diff) |
Update source tgz builder script
Was broken since splitting BKE_blender_version from BKE_blender.
Diffstat (limited to 'build_files/utils')
-rwxr-xr-x | build_files/utils/build_tgz.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/build_tgz.sh index 3c921081c29..865df277605 100755 --- a/build_files/utils/build_tgz.sh +++ b/build_files/utils/build_tgz.sh @@ -6,10 +6,10 @@ BASE_DIR="$PWD" blender_srcdir=$(dirname -- $0)/../.. -blender_version=$(grep "BLENDER_VERSION\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender.h" | awk '{print $3}') -blender_version_char=$(grep "BLENDER_VERSION_CHAR\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender.h" | awk '{print $3}') -blender_version_cycle=$(grep "BLENDER_VERSION_CYCLE\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender.h" | awk '{print $3}') -blender_subversion=$(grep "BLENDER_SUBVERSION\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender.h" | awk '{print $3}') +blender_version=$(grep "BLENDER_VERSION\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender_version.h" | awk '{print $3}') +blender_version_char=$(grep "BLENDER_VERSION_CHAR\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender_version.h" | awk '{print $3}') +blender_version_cycle=$(grep "BLENDER_VERSION_CYCLE\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender_version.h" | awk '{print $3}') +blender_subversion=$(grep "BLENDER_SUBVERSION\s" "$blender_srcdir/source/blender/blenkernel/BKE_blender_version.h" | awk '{print $3}') if [ "$blender_version_cycle" = "release" ] ; then VERSION=$(expr $blender_version / 100).$(expr $blender_version % 100)$blender_version_char |