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