#!/bin/bash # add mactex to the path if its present MACTEX_PATH=/usr/local/texlive/2009/bin/universal-darwin if [[ -d $MACTEX_PATH ]]; then export PATH=$PATH:$MACTEX_PATH fi unset MACTEX_PATH