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. ^_^
#!/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:
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 :)
dexterabc: Cool! It helps to add the prompts. ^_^
Post a Comment