--- ./blender.old 2006-06-05 09:24:05.000000000 +0100 +++ ./blender 2006-10-29 23:03:00.000000000 +0000 @@ -6,6 +6,28 @@ # In case user's home directory doesn't contain ~/.blender, copy it # from ${BLENDER_LIBDIR}/blender +# checking the platform +echo "checking Platform" +echo "Platform is "$HOSTTYPE +if [ "$HOSTTYPE" = "x86_64" ] +then #Checking Python Directory + echo "Setting PYTHONPATH for 64Bit OS" + export PYTHONHOME=/usr/lib64/python2.4 + export PYTHONPATH=/usr/lib64/python2.4 + # loading blender + echo "Running Blender" + + +else # setting Python Directory + echo "Setting PYTHONPATH for a 32Bit OS" + export PYTHONHOME=/usr/lib/python2.4 + export PYTHONPATH=/usr/lib/python2.4 + # loading blender + echo "Running Blender" + + +fi + export BLENDER_LIBDIR=/usr/lib if [ ! -d ~/.blender ]; then