1 2 3 4 5 6 7
#!/bin/bash cd "/opt/doom3" export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. exec ./doom.x86 $* exit $?