You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
374 B

#!/bin/sh
BF_DIST_BIN=$(dirname "$0")
BF_PROGRAM="blender"
# Add own lib folder first, because Steam or other environments may set an
# LD_LIBRARY_PATH that has priority over the runpath in the Blender excutable,
# but contains incompatible libraries.
LD_LIBRARY_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
exec "$BF_DIST_BIN/$BF_PROGRAM" ${1+"$@"}