1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/cad/brlcad/files/mged.sh
Alexey Dokuchaev bbc0e7b376 - Double-quote $@ to properly propagate parameters down the execution path
- Consistently pad (separate) shebang in wrapper scripts with an empty line
2016-10-17 04:00:20 +00:00

14 lines
405 B
Bash

#!/bin/sh
# This is pretty lame for the time being, but it serves as a reminder
# to set correctly your environment before attempting to run BRL CAD.
BRLCAD_ROOT=%%BRLCAD_ROOT%%
export BRLCAD_ROOT
export PATH=%%BRLCAD_ROOT%%/bin:$PATH
export MANPATH=%%BRLCAD_ROOT%%/man:$MANPATH
export ITCL_PATH=%%BRLCAD_ROOT%%/lib/itcl3.4
export ITK_PATH=%%BRLCAD_ROOT%%/lib/itk3.4
exec %%BRLCAD_ROOT%%/bin/mged "$@"