diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-29 11:05:42 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-29 11:05:42 +0300 |
commit | 8deddba392a7d8e5056ac5db1c186209c8e0a8a0 (patch) | |
tree | d9966c36fe8e02fcc7a04147eba13c5f5cbd4d40 /build_files/utils/build_tgz.sh | |
parent | 78c380d3b84d53bf099b49571f0df67bea95bce2 (diff) |
Update source tgz builder script
Was broken since splitting BKE_blender_version from BKE_blender.
Diffstat (limited to 'build_files/utils/build_tgz.sh')
-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 |