Thursday, July 15, 2010

Building Blender 2.5: Success! ^_^

After successfully compiling Blender 2.5 on my Linux Mint OS, I decided to create a batch script to automate the update and build process:


#!/bin/bash

cd ~/blender-svn/blender/
svn up
python scons/scons.py -j 2



Thanks a lot to Fran├žois Tarlier for suggesting to build on my own. ^_^

2 comments:

dexterabc said...

Here's mine:

#!/bin/bash
cd `dirname "$0"`
echo 'Downloading blender...' && \
sleep 2 && \
svn up && \
echo 'Building blender...' && \
sleep 2 && \
python scons/scons.py -j 3 && \
echo 'Success.'
echo 'Press enter to exit...'
read enter


But it must be placed in the ~/blender-svn/blender/ folder as it uses dirname $0 :)

reynante said...

dexterabc: Cool! It helps to add the prompts. ^_^