diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-03 01:21:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-03 01:21:14 +0400 |
commit | 4a0c3e2a12498c0769eabf9ee1dab30d01fe658d (patch) | |
tree | 2ac067bf6955a14e33a4f587b5bb6a5bd126eca2 /build_files/package_spec/pacman | |
parent | e49688f021dd7d19b46efb54f0cbe21aaf6f45ee (diff) |
fix [#28784] CRASHER on load with load_post handler
also fix pacman package build spec.
Diffstat (limited to 'build_files/package_spec/pacman')
-rw-r--r-- | build_files/package_spec/pacman/PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/package_spec/pacman/PKGBUILD b/build_files/package_spec/pacman/PKGBUILD index f7dbf1782ce..0f070f3d558 100644 --- a/build_files/package_spec/pacman/PKGBUILD +++ b/build_files/package_spec/pacman/PKGBUILD @@ -4,7 +4,7 @@ blender_srcdir=$(dirname $startdir)"/../.." # value may be formatted: 35042:35051M blender_revision=$(svnversion $blender_srcdir | cut -d: -f2 | awk '{print $3}') -blender_version=$(grep BLENDER_VERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | awk '{print $3}') +blender_version=$(grep "BLENDER_VERSION\s" $blender_srcdir/source/blender/blenkernel/BKE_blender.h | awk '{print $3}') blender_version=$(expr $blender_version / 100).$(expr $blender_version % 100) # 256 -> 2.56 blender_version_char=$(sed -ne 's/.*BLENDER_VERSION_CHAR.*\([a-z]\)$/\1/p' $blender_srcdir/source/blender/blenkernel/BKE_blender.h) # blender_subversion=$(grep BLENDER_SUBVERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | awk '{print $3}') |